News for hackers. Stuff that matters.
Re:Implementing a C-like for loop in Python by version_five on Sunday July 02, 2023 @08:27PM (#36567289)
I'm almost certain this was already posted, but cannot find it in the history. I've definitely read it before. It's a bit disappointing, he ends up writing a preprocessor that translates his code into python, which doesn't really feel like a legitimate claim on implementing c-like loop syntax.

The context manager stuff is interesting though.

Re:Implementing a C-like for loop in Python by armanboyaci on Sunday July 02, 2023 @08:43PM (#36567401)