HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-210 days agoWhy make it complicated?lemmy.mlexternal-linkmessage-square122fedilinkarrow-up1354arrow-down138file-text
arrow-up1316arrow-down1external-linkWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-210 days agomessage-square122fedilinkfile-text
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up1arrow-down1·10 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.