@ambrosiaforest@lemmy.blahaj.zone to 196@lemmy.blahaj.zone • 5 months agofixed rulelemmy.blahaj.zoneimagemessage-square101fedilinkarrow-up1626arrow-down11file-text
arrow-up1625arrow-down1imagefixed rulelemmy.blahaj.zone@ambrosiaforest@lemmy.blahaj.zone to 196@lemmy.blahaj.zone • 5 months agomessage-square101fedilinkfile-text
minus-square@kryptonianCodeMonkey@lemmy.worldlinkfedilink32•edit-25 months agoAll line breaks. Just one tower of code. class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }
minus-square@eupraxia@lemmy.blahaj.zonelinkfedilinkEnglish15•edit-25 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
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