629
fixed rule (lemmy.blahaj.zone)
you are viewing a single comment's thread
view the rest of the comments
[-] LazaroFilm@lemmy.world 33 points 10 months ago

No line breaks. Just one long line of code.

[-] kryptonianCodeMonkey@lemmy.world 33 points 10 months ago* (last edited 10 months ago)

All line breaks. Just one tower of code.

class
HelloWorld
{
public
static
void
main(String[]
args)
{
System.out.println("Hello,
World!");
}
}
[-] eupraxia@lemmy.blahaj.zone 15 points 10 months ago* (last edited 10 months 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

[-] Oszilloraptor@feddit.de 7 points 10 months ago* (last edited 10 months ago)

why not

...

System
.out
.println(
"Hello,

...

?

[-] qaz@lemmy.world 3 points 10 months ago

I’ve seen some people who code like this

this post was submitted on 10 Feb 2024
629 points (100.0% liked)

196

16732 readers
2925 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS