alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 6 months agoMore confusion for recruiterssh.itjust.worksimagemessage-square86fedilinkarrow-up1883arrow-down119
arrow-up1864arrow-down1imageMore confusion for recruiterssh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 6 months agomessage-square86fedilink
minus-squarelurch (he/him)@sh.itjust.workslinkfedilinkarrow-up208·6 months agoall lines not terminated by a single space are comments
minus-squaretabarnaski@sh.itjust.workslinkfedilinkarrow-up86·6 months agoThere’s a special place in hell for you
minus-squareZiglin (they/them)@lemmy.worldlinkfedilinkarrow-up53·6 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-up49·6 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-squaremining (they/them)@lemmy.mllinkfedilinkarrow-up15·6 months agoAlso a spicial place in hell for you
minus-squarerovingnothing29@lemmy.worldlinkfedilinkarrow-up7·6 months agoCan we add the comefrom function too?
minus-squareZiglin (they/them)@lemmy.worldlinkfedilinkarrow-up4·6 months agoNasm programmers probably think that is old code that you commented out.
minus-squareAVincentInSpace@pawb.sociallinkfedilinkEnglisharrow-up3·6 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
Also a spicial place in hell for you
Can we add the comefrom function too?
Nasm programmers probably think that is old code that you commented out.
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)