unquietwiki to Nim Programming LanguageEnglish · 2 years agoNim v2.0 releasednim-lang.orgexternal-linkmessage-square12fedilinkarrow-up129arrow-down10cross-posted to: [email protected]programming
arrow-up129arrow-down1external-linkNim v2.0 releasednim-lang.orgunquietwiki to Nim Programming LanguageEnglish · 2 years agomessage-square12fedilinkcross-posted to: [email protected]programming
minus-squareI Cast Fistlinkfedilinkarrow-up4·2 years agoThat is a new and welcome change, in my opinion. I have a bit of experience with Nim and when you defined a type (object), you couldn’t define default values. The workaround was making or overloading a new() function with default values instead.
That is a new and welcome change, in my opinion. I have a bit of experience with Nim and when you defined a type (object), you couldn’t define default values. The workaround was making or overloading a
new()
function with default values instead.deleted by creator