News for hackers. Stuff that matters.
Re:Brainfuck in one line of Python by pak on Sunday December 04, 2011 @05:03PM (#3312006)
Any program can be called a "one liner" if you just strip newlines and don't limit the line length.
Re:Brainfuck in one line of Python by steve-howard on Sunday December 04, 2011 @05:12PM (#3312031)
It's generally accepted that a semicolon (in most languages) means two lines no matter how the spacing goes. In Python, it's particularly tricky to have a complex program evaluate to one statement because of limitations like no assignments in expressions. It's true, though, that this is basically the same as writing Lisp in Python.
Re:Brainfuck in one line of Python by gliptic on Sunday December 04, 2011 @05:07PM (#3312016)
Not in Python.