HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-26 个月前Why make it complicated?lemmy.mlimagemessage-square119fedilinkarrow-up1350arrow-down136file-textcross-posted to: [email protected]
arrow-up1314arrow-down1imageWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-26 个月前message-square119fedilinkfile-textcross-posted to: [email protected]
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up1arrow-down1·6 个月前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.
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.