Is it possible to write a code without class methods, globals, and class variables? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
How does Go improve productivity with “implicit” interfaces, and how does that compare with C#’s notion of Extension Methods?
In the Go Language Tutorial, they explain how interfaces work:
How much inconsistency arises from Javascript’s high flexibility?
I’ll admit it, I haven’t yet mastered the language, but my experience with it tells me that Javascript is a highly flexible language, allowing prototypal inheritance, dynamic typing, functions as first class citizens and so many more cool stuff. I think such features bring some inconsistencies, but that’s nothing new, most people would agree with me. I wanted to discuss specific examples that have been annoying me, like “for in” loops:
Why is 0 false?
Why does 0
evaluate to false
and any other integer value to true
is most programming languages?
Conditional construct for a kleenean data type
I was thinking of an hypothetical programming language with a kleenean
data type which would implement Kleene’s three-valued logic. To sum up, it’s an extension of the boolean data type with the three constants true
, false
and unknown
where unknown
means that the value is either true
or false
, but we don’t know which.
Phonetic programming language? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Phonetic programming language? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Phonetic programming language? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Phonetic programming language? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Why do C# and Java use reference equality as the default for ‘==’?
I’ve been pondering for a while why Java and C# (and I’m sure other languages) default to reference equality for ==
.