CodyIT@programming.dev to Programmer Humor@programming.dev · 10日前the beautiful codeprogramming.devimagemessage-square168fedilinkarrow-up11.8Karrow-down110
arrow-up11.79Karrow-down1imagethe beautiful codeprogramming.devCodyIT@programming.dev to Programmer Humor@programming.dev · 10日前message-square168fedilink
minus-squareXerxos@lemmy.mllinkfedilinkarrow-up78arrow-down2·10日前All programs can be written with on less line of code. All programs have at least one bug. By the logical consequences of these axioms every program can be reduced to one line of code - that doesn’t work. One day AI will get there.
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up16·9日前On one line of code you say? *search & replaces all line breaks with spaces*
minus-squareSzyler@lemmy.worldlinkfedilinkarrow-up2·6日前Fired for not writing the quota number of lines even junior devs manage to hit.
minus-squaregmtom@lemmy.worldlinkfedilinkarrow-up12·10日前 All programs can be written with on less line of code. All programs have at least one bug. The humble “Hello world” would like a word.
minus-squarephx@lemmy.calinkfedilinkarrow-up9·10日前You can fit an awful lot of Perl into one line too if you minimize it. It’ll be completely unreadable to most anyone, but it’ll run
minus-squareSchadrach@lemmy.sdf.orglinkfedilinkEnglisharrow-up2·9日前Qrpff says hello. Or, rather, decrypts DVD movies in 472 bytes of code, 531 if you want the fast version that can do it in real time. The Wikipedia article on it includes the full source code of both. https://wikipedia.org/wiki/Qrpff
All programs can be written with on less line of code. All programs have at least one bug.
By the logical consequences of these axioms every program can be reduced to one line of code - that doesn’t work.
One day AI will get there.
On one line of code you say?
*search & replaces all line breaks with spaces*
Fired for not writing the quota number of lines even junior devs manage to hit.
The ideal code is no code at all
nocode
The humble “Hello world” would like a word.
You can fit an awful lot of Perl into one line too if you minimize it. It’ll be completely unreadable to most anyone, but it’ll run
Qrpff says hello. Or, rather, decrypts DVD movies in 472 bytes of code, 531 if you want the fast version that can do it in real time. The Wikipedia article on it includes the full source code of both.
https://wikipedia.org/wiki/Qrpff