You're viewing a single thread.
Doctor of Computer Science
stringly-typed
"100%"
yeah that tracks.
194 0 ReplyCalls a static method on the OldMan class instead of the instance of oldMan that is actually dying.
125 0 ReplyTonight's story: Every man older than OldMan.getMinimumAge() has been in perfect *unchanging* health for the last few months‽ To find out why, stay tuned! Our experts chime in to help you understand....
62 0 ReplyIf only I'd been born %YEARS% later :'-(
17 0 ReplyBut then they really have no idea and try to convince you it’s from some stupid diet trick fed to them by a sponsor.
8 0 Reply
That's an instance property
3 0 ReplyIs this some .NET convention that references to instances start with capital letters?
2 0 ReplyYeah, properties (like a field but with a getter and/or setter method, may or may not be backed by a field) are PascalCase
3 0 ReplyHow is OldMan a property here? It's clearly the name of a class
3 0 ReplyInstance properties are PascalCase.
1 0 ReplyYes I know, I've coded in .NET before, but so are class names.
1 0 ReplyOkay, but this makes more sense as an instance method rather than a static one
1 0 Reply
str(float("100.0")) + "%"
26 0 Reply34 0 ReplyHaha I'm saving this image
9 0 Reply