Sandman
Joined 17 years ago
Karma
2,645
Submissions
547
Member since
Mar 10
If anybody wants to contact me, feel free to send me an email: [email protected]
View on Hacker NewsJoined 17 years ago
I merely wanted to point out that, in my opinion, this property should be reflected in parameter type, rather than the name. Just like, if we wanted a parameter that should only be a whole number, we wouldn't declare it as a float and name it "MyVariableInteger" and hope that the callers would only send integers.
You mentioned that there are quite a few languages that do not permit what I proposed, would you mind specifying which ones exactly? The only one that comes to my mind is assembly?