JPDev@programming.dev to Programmer Humor@programming.dev · 9 months agoAlways try sudoprogramming.devimagemessage-square81fedilinkarrow-up11.11K
arrow-up11.11KimageAlways try sudoprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 9 months agomessage-square81fedilink
minus-squarerobotica@lemmy.worldlinkfedilinkarrow-up3·9 months agoHow is OldMan a property here? It’s clearly the name of a class
minus-squareKogasa@programming.devlinkfedilinkarrow-up1·9 months agoInstance properties are PascalCase.
minus-squarerobotica@lemmy.worldlinkfedilinkarrow-up1·9 months agoYes I know, I’ve coded in .NET before, but so are class names.
minus-squareKogasa@programming.devlinkfedilinkarrow-up1·9 months agoOkay, but this makes more sense as an instance method rather than a static one
How is OldMan a property here? It’s clearly the name of a class
Instance properties are PascalCase.
Yes I know, I’ve coded in .NET before, but so are class names.
Okay, but this makes more sense as an instance method rather than a static one