630
fixed rule (lemmy.blahaj.zone)
you are viewing a single comment's thread
view the rest of the comments
[-] kryptonianCodeMonkey@lemmy.world 33 points 1 year ago* (last edited 1 year 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 1 year ago* (last edited 1 year 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 1 year ago* (last edited 1 year ago)

why not

...

System
.out
.println(
"Hello,

...

?

[-] qaz@lemmy.world 3 points 1 year ago

I’ve seen some people who code like this

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

196

17237 readers
1912 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS