HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-23か月前Why make it complicated?lemmy.mlexternal-linkmessage-square99fedilinkarrow-up1323arrow-down131file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1292arrow-down1external-linkWhy make it complicated?lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · edit-23か月前message-square99fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squaresbv@sh.itjust.workslinkfedilinkEnglisharrow-up1arrow-down1·3か月前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.