Skip to content

Comment on Brainfuck in one line of Pythonparent

Comments

I think the first paragraph explained it quite well.

Whether or not the feat itself is impressive or not I don't really know but the reason for the quest was motivated.

My point was that "one-line" is a faulty criterion for measuring compactness if we allow for arbitrarily long lines: or "long cat is long" considered harmful.

I'm guessing you don't deal with Python much. Python actively discourages this sort of thing, it's actually hard to create obfuscated code of the kind you see in most other languages.

That this was even possible surprised me somewhat, that he actually figured it out I find quite impressive.

Fair point, and the magnitude of this feat was not lost on me. I was just speaking in general, we need a better metric for one-linerness than s/\n//g.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.