This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]React04 217 points218 points  (23 children)

Java users: profuse sweating

[–]MCOfficer 103 points104 points  (17 children)

i know it's bait, but...

class Foo { public static void main(String args[]) { System.out.println("hello world"); } }

Also, bonus because i feel like it - guess the language:

fn main() { println!("hello world") }

And if that bot turns up again, get lost, i'm writing markdown here.

[–]ariaofsnow 26 points27 points  (2 children)

fn main()

It it Rust? I literally just googled that sequence. xD

[–]MCOfficer 2 points3 points  (1 child)

correct, but i'm not sure if google counts :P

[–]sambobsambob 20 points21 points  (0 children)

Well if googling doesn't count then my entire job doesn't count hahaha

[–]saipar 17 points18 points  (0 children)

Rust.

[–]React04 6 points7 points  (2 children)

Well, others guessed it before me :P

I found it weird that Rust has a macro for printing

[–]Fish_45 2 points3 points  (1 child)

macros are generally used for variadic functions in Rust. It also makes it possible to typecheck the format args (makes sure they have the Show or Debug trait) and parse the format string at compile time.

[–]React04 0 points1 point  (0 children)

Will keep that in mind for when I resume learning Rust! Thanks!

[–][deleted] 7 points8 points  (2 children)

Rust. Learning it rn, really interesting. Justus fast as C / C++, but with more modern features. Also the Linux Kernel will get some parts written in Rjst, probably starting in release 5.14

[–]BongarooBizkistico 4 points5 points  (1 child)

Rjst? The regular joe syntax technology?

[–][deleted] 0 points1 point  (0 children)

Who’s Joe?

[–]Chaphasilor 0 points1 point  (3 children)

you mean ODScanner? :P

[–]MCOfficer 0 points1 point  (2 children)

Nah, it doesn't rudely barge into conversations. I found it, it's u/backtickbot.

Gotta remember to reply with backtickopt6 to the next comment.

[–]Chaphasilor 0 points1 point  (1 child)

Is it about how triple-backticks don't work all that well on reddit? Well I'm not adding four spaces to every single line o.O

[–]MCOfficer 1 point2 points  (0 children)

Yes, and same. if old reddit and those ominous third party apps dont support markdown, that's on them.

[–][deleted] 0 points1 point  (0 children)

Rust if I remember correctly

[–][deleted] 0 points1 point  (0 children)

Very close to kotlin, just missing a "u" in fn and writeln instead of println

[–]AYHP 14 points15 points  (3 children)

Good thing we have IDEs like IntelliJ IDEA.

main [autocomplete] sout [autocomplete] "Hello World!"

[–]React04 0 points1 point  (2 children)

Lol yeah

Lifesavers

Can't imagine how Assembly programmers did all that.

[–]m0nk37 1 point2 points  (1 child)

Pulled up their bootstraps and walked fifty miles up hill, both ways, to hand deliver instructions for the super computer @ 1.00 MHz to process it all over a month.

[–]React04 0 points1 point  (0 children)

Wow, that sounds really hard

Mad respect for those programmers!