Scala is a wonderful language, but I wonder how 开发者_开发问答could be improved if it had it\'s own runtime?
I\'ve designed some educational programming languages and interpreters for them, but my problem always was that they ended up \"normal\" and \"boring\", mostly similar to some kind of existing languag
Here\'s an excerpt from Sun\'s Java tutorials: A switch works with the byte, short, char, and int primitive data types. It also works with enumerated types (discussed in Classes and Inheritance) and
This question already has answers here: Difference between `data` and `newtype` in Haskell (2 answers) Closed 8 years ago.
My point is, if you don\'t understand the abstraction of a framework,开发者_如何学编程 you can still decompile it and understand it, because you know the language e.g. Java. However, when byte-code ge
Why is that name of constructor is same as class nam开发者_运维技巧e?According to Stroustrup, because the alternative of a new-function \"had been a source of confusion\". See The Design & Evoluti
In both C# and VB, type parameter modifiers are used to express the variance of type parameters. For example, the C# version looks like:
I have a strange question concerning subroutines: As I\'m creating a minimal language and I don\'t want to add high-level loo开发者_如何学Cps like while or for I was planning on just adding gotos to k
If we need to write a new line to a file we have to code: file_output.write(\'Fooo line \\n\') Are there any reasons why Python does not have a writeln() me开发者_StackOverflow社区thod?In Python 2,
I just wanted to know if it is 100% possible, if my language is turing-complete, to write a program in it that prints itself out (of course not using a file reading function)