alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 4 months agoMore confusion for recruiterssh.itjust.worksimagemessage-square85fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageMore confusion for recruiterssh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 4 months agomessage-square85fedilink
minus-squarelurch (he/him)@sh.itjust.workslinkfedilinkarrow-up0·4 months agoall lines not terminated by a single space are comments
minus-squaretabarnaski@sh.itjust.workslinkfedilinkarrow-up0·4 months agoThere’s a special place in hell for you
minus-squareZiglin@lemmy.worldlinkfedilinkarrow-up0·4 months agoAlso each line starts with a semicolon and you have to escape spaces in strings using a double forward slash
minus-squareTurboWafflz@lemmy.worldlinkfedilinkarrow-up0·4 months agoI realized a while ago that there’s nothing stopping me from writing rust like this ;println!("This is great") ;println!("I think everyone should write rust like this") ;println!("Probably works in most languages that use semicolons") ;
minus-squareZiglin@lemmy.worldlinkfedilinkarrow-up0·4 months agoNasm programmers probably think that is old code that you commented out.
minus-squaremining (they/them)@lemmy.mllinkfedilinkarrow-up0·4 months agoAlso a spicial place in hell for you
minus-squarerovingnothing29@lemmy.worldlinkfedilinkarrow-up0·4 months agoCan we add the comefrom function too?
minus-squareAVincentInSpace@pawb.sociallinkfedilinkEnglisharrow-up0·4 months agohope you don’t forget the semicolon on a line by itself at the end (except in functions where you want to return the value of the last expression)
all lines not terminated by a single space are comments
There’s a special place in hell for you
Also each line starts with a semicolon and you have to escape spaces in strings using a double forward slash
I realized a while ago that there’s nothing stopping me from writing rust like this
Nasm programmers probably think that is old code that you commented out.
Also a spicial place in hell for you
Can we add the comefrom function too?
hope you don’t forget the semicolon on a line by itself at the end (except in functions where you want to return the value of the last expression)