@Melatonin@lemmy.dbzer0.com to Asklemmy@lemmy.ml • 18 days agoWhat is the smallest hill you would die on?message-square314fedilinkarrow-up1136arrow-down10
arrow-up1136arrow-down1message-squareWhat is the smallest hill you would die on?@Melatonin@lemmy.dbzer0.com to Asklemmy@lemmy.ml • 18 days agomessage-square314fedilink
minus-square@HiddenLayer555@lemmy.mllinkfedilinkEnglish39•edit-216 days agovoid main() { //code } Is better than void main() { //code } Why would you want to put it on a separate line? Are you paid by the height of the source file or something?
minus-square@pineapple@lemmy.mllinkfedilinkEnglish2•16 days agovoid main() { //code } No, all in one line baby!! I haven’t done JavaScript in a while but I think that will work. After coming from python I thought it was funny you could just put everything in one line.
Is better than
Why would you want to put it on a separate line? Are you paid by the height of the source file or something?
void main() { //code }
No, all in one line baby!! I haven’t done JavaScript in a while but I think that will work. After coming from python I thought it was funny you could just put everything in one line.