FR version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
50% Positive
Analyzed from 110 words in the discussion.
Trending Topics
#string#chr#code#made#web#seems#write#more#variable#print

Discussion (2 Comments)Read Original on HackerNews
Today I suppose this would get clobbered by bots but in 2016 it was fun and I still am in awe of how simple he made it.
Indeed that is what the first wikipedia example does
a = 'a = {}{}{}; print(a.format(chr(39), a, chr(39)))'; print(a.format(chr(39), a, chr(39)))
I dunno, my explanation seems to make more sense in my head than the analogy this article fixates on of a machine that can build a machine etc