Tagged Questions
2
votes
6answers
767 views
Why is an interface in Java not allowed to have state? [closed]
There must be a good reason why Java designers didn't allow any state to be defined in interfaces . Can you please throw some light on this aspect of design decision ?
19
votes
8answers
2k views
Are there any programming languages that follow a minimalist development approach?
I find it that when languages are considered the same as commercial software, there is always a constant need to add new features to justify new releases.
Can there be or are there languages where ...
11
votes
2answers
855 views
Advantages and disadvantages of structuring all code via classes and compiling to classes (like Java)
Edit: my language allows for multiple inheritance, unlike Java.
I've started designing and developing my own programming language for educational, recreational, and potentially useful purposes.
At ...
3
votes
1answer
292 views
Why doesn't Java's BigInteger class have a constructor capable of taking a numeric literal? [closed]
Why doesn't Java's BigInteger class have a constructor capable of taking a numeric literal? Every single time I use BigIntegers, and many times I merely think about them, I wonder this.
What reason ...
1
vote
2answers
162 views
Prioritize compiler functionality/tasks, when designing a new language [closed]
I've already made a very simple compiler with limited functionality. Now I'm getting more on it to make it more like a real-world compiler. I definitely need to start over because I've much more ...
22
votes
8answers
14k views
Why use partial classes?
In my understanding, the partial keyword does nothing but allow a class to be split between several source files. Is there any reason to do this other than for code organization? I've seen it used for ...