CodyIT@programming.dev to Programmer Humor@programming.dev · 1 year agothe beautiful codeprogramming.devimagemessage-square45linkfedilinkarrow-up135arrow-down11
arrow-up134arrow-down1imagethe beautiful codeprogramming.devCodyIT@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square45linkfedilink
minus-squareXerxos@lemmy.mllinkfedilinkarrow-up1arrow-down1·1 year agoAll 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-up1·1 year agoOn one line of code you say? *search & replaces all line breaks with spaces*
minus-squaregmtom@lemmy.worldlinkfedilinkarrow-up1·1 year ago 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-squareAmberskin@europe.publinkfedilinkarrow-up0·1 year agoJust to boast my old timer credentials. There is an utility program in IBM’s mainframe operating system, z/OS, that has been there since the 60s. It has just one assembly code instruction: a BR 14, which means basically ‘return’. The first version was bugged and IBM had to issue a PTF (patch) to fix it.
minus-squareDaPorkchop_@lemmy.mllinkfedilinkarrow-up1·1 year agoOkay, you can’t just drop that bombshell without elaborating. What sort of bug could exist in a program which contains a single return instruction?!?
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*
The humble “Hello world” would like a word.
Just to boast my old timer credentials.
There is an utility program in IBM’s mainframe operating system, z/OS, that has been there since the 60s.
It has just one assembly code instruction: a BR 14, which means basically ‘return’.
The first version was bugged and IBM had to issue a PTF (patch) to fix it.
Okay, you can’t just drop that bombshell without elaborating. What sort of bug could exist in a program which contains a single return instruction?!?