HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 months agoWhy make it complicated?lemmy.mlexternal-linkmessage-square123fedilinkarrow-up1370arrow-down138file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1332arrow-down1external-linkWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-22 months agomessage-square123fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up1arrow-down1·2 months 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.