HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 days agoWhy make it complicated?lemmy.mlimagemessage-square105linkfedilinkarrow-up1342arrow-down133file-textcross-posted to: [email protected]
arrow-up1309arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 days agomessage-square105linkfedilinkfile-textcross-posted to: [email protected]
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up1arrow-down1·2 days agoYour example didn’t mention the use of the function keyword. Instead, it seemed to be questioning the placement of the return type - placing it after the argument list seems pretty common in newer languages.
Your example didn’t mention the use of the function keyword. Instead, it seemed to be questioning the placement of the return type - placing it after the argument list seems pretty common in newer languages.