HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 9 天前Python needs an actual default functionlemmy.mlimagemessage-square160linkfedilinkarrow-up1757arrow-down129file-textcross-posted to: programminghumor@lemmy.worldprogrammerhumor@lemmy.ml
arrow-up1728arrow-down1imagePython needs an actual default functionlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 9 天前message-square160linkfedilinkfile-textcross-posted to: programminghumor@lemmy.worldprogrammerhumor@lemmy.ml
Also, do y’all call main() in the if block or do you just put the code you want to run in the if block?
minus-squareDamarus@feddit.orglinkfedilinkarrow-up11·9 天前I know right? It even has var with implicit typing now. While I prefer Kotlin any day, there’s been quite a few qol improvements to Java over the last few years.
I know right? It even has var with implicit typing now. While I prefer Kotlin any day, there’s been quite a few qol improvements to Java over the last few years.