ambrosiaforest@lemmy.blahaj.zone to 196@lemmy.blahaj.zone · 9 months agofixed rulelemmy.blahaj.zoneimagemessage-square102fedilinkarrow-up1613arrow-down10file-text
arrow-up1613arrow-down1imagefixed rulelemmy.blahaj.zoneambrosiaforest@lemmy.blahaj.zone to 196@lemmy.blahaj.zone · 9 months agomessage-square102fedilinkfile-text
minus-squareLazaroFilm@lemmy.worldlinkfedilinkEnglisharrow-up32·9 months agoNo line breaks. Just one long line of code.
minus-squarekryptonianCodeMonkey@lemmy.worldlinkfedilinkarrow-up31·edit-29 months agoAll line breaks. Just one tower of code. class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }
minus-squarecassie 🐺@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up14·edit-29 months agoas always, c++ lets us do better in breathtakingly elegant fashion: #\ i\ n\ c\ l\ u\ d\ e\ \ <\ i\ o\ s\ t\ r\ e\ a\ m\ > finishing out hello world is left as an exercise to the reader, but the advantages and superior performance of this format should be obvious
minus-squareMadlaine@feddit.delinkfedilinkarrow-up7·edit-29 months agowhy not … System .out .println( "Hello, … ?
minus-squareqaz@lemmy.worldMlinkfedilinkarrow-up2·9 months agoI’ve seen some people who code like this
No line breaks. Just one long line of code.
All line breaks. Just one tower of code.
as always, c++ lets us do better in breathtakingly elegant fashion:
finishing out hello world is left as an exercise to the reader, but the advantages and superior performance of this format should be obvious
why not
…
System
.out
.println(
"Hello,
…
?
I’ve seen some people who code like this