613
Find yourself (lemmy.ml)
submitted 1 year ago by coja@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Cihta@lemmy.world 4 points 1 year ago

Wow that's a very exhausting language. I dropped your code into an online rust to asm converter and it actually wasn't more! I did try to post it for fun but lemmy kept messing up the code block. Oh well, wasn't that amusing anyway!

[-] force@lemmy.world 4 points 1 year ago

lol that's not actually how rust is written, it was just a joke

it'd really be written

if x > y { x } else { y }
[-] Cihta@lemmy.world 1 points 1 year ago

Hah thanks for clarifying. I was joking too and it's a shame I couldn't post the results.

Though I admit i don't know anything about rust. I'm sure I'd like it better than the proprietary garbage i use now that just gets converted to ASM / PLC code in the end. But I can't skip the middle man. I'm not gonna try but probably 30mins for me to "write" the above.

Besides, how do you make money if I can code something in an hour as opposed to 2 days?

this post was submitted on 22 Oct 2023
613 points (95.7% liked)

Programmer Humor

32558 readers
550 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS