There are no good C-like interpreted languages, /prog/. I plan to design a new language with the following features:
* C-like in syntax
* statically typed, not dynamically typed
* strongly typed, not weakly typed
* interpreted in the main implementation, but compilers are possible
* functions are first class objects
* classes, none of that duck typing shit
* basic data structures like vectors, lists, etc. are included, unlike in C
* templates for generic programming
Name:
Anonymous2012-02-03 23:26
>>36
All of these problems have been fixed over and over again. C doesn't have them because that's not what C's for.
Static strong typing is the only way to go for robust, reliable programs. JavaScript, PHP and Python are the opposite and look what have come out of them.
Tell me, are you currently attending "special education" for those with "special needs", and I'm not talking about the good kind of special either.
Name:
Anonymous2012-02-04 6:57
reading [some] C declarations is hard
typedefs to the rescue! of obscure pointers to functions returning pointers and receive some data and function pointers that return pointers.
>>61
You mean the hack-job of a language with no spec of anything, just a bunch of shitty tutorials, and whose entire design and the whole idea behind it is "let's mostly, but not exactly, copy C# but make it generate C code and use the bullshit GObject system behind the scenes"?
Name:
Anonymous2012-02-04 13:12
All but interpreted in the main implementation
can describe C++. Yes, you can even have functions as first class objects in C++11... but they're not first class objects by default. You have to use some shitstain syntax to make them.