What useful expressiveness will be impossible in a language where an expression is not a statement?
I am contemplating writing a programming language. Most grammars define expressions as being a kind of a statement. But really I cannot come up with a single example of any useful expression that would pass as a statement.
What do you call classes without methods?
What do you call classes without methods?
How will quantum computing change programming? [closed]
Closed 11 years ago.
Different kinds of safety [closed]
It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago. Programming languages and programs (as wells as individual […]
A study shows that lines_written/time is language-independent for most programmers. Where can it be found? [closed]
Closed 9 years ago.
Use cases for “private” interfaces?
I was wondering if there was a valid use case for being able to properly define the specific internal properties and functions of a class in a way similar to how an interface defines the public properties and functions of a class.
Why are errors named as “Exception” but not as “Error” in programming languages?
I’ve been thinking about that for quite a while actually. I am not a native English speaker myself but still, I have years of programming experience and I always asked myself this. Why is it named as Exception
but not Error
since they are errors?
Is it ever too early to learn a new 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 […]
How would a new language look if it was designed from scratch to be easy to TDD?
With the some most common languages (Java, C#, Java, etc) it sometimes seems that you are working at odds with the language when you want to fully TDD your code.
Does C# give you “less rope to hang yourself” than C++? [closed]
It’s a book that basically says, C++ is enough rope to hang yourself, and then a couple of extra miles of rope, and then a couple of suicide pills that are disguised as M&Ms…