@[email protected] to [email protected] • 6 days agoWhat is the smallest hill you would die on?message-square360fedilinkarrow-up1137arrow-down12
arrow-up1135arrow-down1message-squareWhat is the smallest hill you would die on?@[email protected] to [email protected] • 6 days agomessage-square360fedilink
minus-square@[email protected]linkfedilinkEnglish35•edit-25 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@[email protected]linkfedilinkEnglish1•5 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.
minus-square@[email protected]linkfedilink2•5 days agoFor Javascript it’s () => { }. Lamba functions! Because at least it’s more readable than Perl.
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.
For Javascript it’s
() => { }
. Lamba functions! Because at least it’s more readable than Perl.Thanks, that makes more sense.