▲ 630 ▼ fixed rule (lemmy.blahaj.zone) submitted 2 years ago by ambrosiaforest@lemmy.blahaj.zone to c/196@lemmy.blahaj.zone 99 comments fedilink hide all child comments original: https://lemmy.blahaj.zone/post/8572031
[–] LazaroFilm@lemmy.world 33 points 2 years ago (1 child) No line breaks. Just one long line of code. permalink fedilink source hideshow 2 child comments replies: [–] kryptonianCodeMonkey@lemmy.world 33 points 2 years ago* (3 children) All line breaks. Just one tower of code. class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } } permalink fedilink source parent hideshow 6 child comments replies: [–] eupraxia@lemmy.blahaj.zone 16 points 2 years ago* as 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 permalink fedilink source parent [–] Oszilloraptor@feddit.de 7 points 2 years ago* why not ... System .out .println( "Hello, ... ? permalink fedilink source parent [–] qaz@lemmy.world 3 points 2 years ago I’ve seen some people who code like this permalink fedilink source parent
[–] kryptonianCodeMonkey@lemmy.world 33 points 2 years ago* (3 children) All line breaks. Just one tower of code. class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } } permalink fedilink source parent hideshow 6 child comments replies: [–] eupraxia@lemmy.blahaj.zone 16 points 2 years ago* as 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 permalink fedilink source parent [–] Oszilloraptor@feddit.de 7 points 2 years ago* why not ... System .out .println( "Hello, ... ? permalink fedilink source parent [–] qaz@lemmy.world 3 points 2 years ago I’ve seen some people who code like this permalink fedilink source parent
[–] eupraxia@lemmy.blahaj.zone 16 points 2 years ago* as 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 permalink fedilink source parent
[–] Oszilloraptor@feddit.de 7 points 2 years ago* why not ... System .out .println( "Hello, ... ? permalink fedilink source parent
[–] qaz@lemmy.world 3 points 2 years ago I’ve seen some people who code like this permalink fedilink source parent