Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Is-even-ai – Check if a number is even using the power of AI. Parent comment
A former co-worker had to print 5 lines of text. Sometimes, some of the lines were empty but he didn't want to print an empty line.
So he did the usual, use 'if', a lot of 'if'. He handled all the possible cases of empty VS not empty lines.
There are no comments on this comment yet.
A former co-worker had to print 5 lines of text. Sometimes, some of the lines were empty but he didn't want to print an empty line.
So he did the usual, use 'if', a lot of 'if'. He handled all the possible cases of empty VS not empty lines.