825
you are viewing a single comment's thread
view the rest of the comments
[-] lurklurk@lemmy.world 28 points 2 days ago

Hello World

30 minutes of boilerplate

writing imports

$ cat <<EOF > Hello.java
public class Hello {
  public static void main(String args[]) {
    System.out.println("Hello world!");
  }
}
EOF
$ java Hello.java
Hello world!

ok

[-] MooseTheDog@lemmy.world 22 points 2 days ago

Welcome to java, we have a couple unconventional ways of doing things, but overall I'm like every other mainstream oo language.

People: AHH! Scary!

Welcome to python. your knowledge of me wont help you elsewhere as my syntax is purposefully obtuse and unique. Forget about semicolons, one missed space and your code is as worthless as you after learning this language.

People: Hello based department

[-] PanArab@lemm.ee 1 points 2 days ago* (last edited 2 days ago)

It is possible to dislike both. For me SmallTalk-like languages are peak. Message passing for life!

load more comments (5 replies)
load more comments (23 replies)
this post was submitted on 13 Nov 2024
825 points (96.2% liked)

Greentext

4394 readers
1013 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS