"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
I would take Elysia and MutantJohn's criticism with a grain of salt. They appear to believe C++ the OTL, the end.
However I agree with whiteflags, your language doesn't seem to bring anything new to the table.
I get it, minimalism, but humor the pragmatic. If you want your language to find niche use, I highly recommend you focus on fixing many of C's mistakes (like implicit booleanizing of any type, poor operator prioritization, etc) as well.
I don't consider that operator "prioritisation" (by which I assume you mean precedence, associativity, etc) is a fault in C - there are a couple of anomalies, but it generally makes sense.
What is a problem is (the number of programmers who seem to take delight in) ability to abuse multiple operators in a single expression (e.g. mixing multiple operations with interacting side effects in a single expression, using multiple operations on a pointer at once). Defining and automatically enforcing a number reasonable constraints would be useful. The challenge would be finding a notion of "reasonable" that is applicable to most people.
No question that C has its faults (like any programming language).
Curiously, the trends in programming language design (at least the pragmatic ones) seem to go in two common directions. Those interested in general-purpose programming seem to be heading in the direction of more language/library features that allow more difficult things to be done more easily - which, if it succeeds, tends to produce a useful language that is hard to learn in entirety. Those interested in supporting a particular niche tend to go for "minimalism" (i.e. stripping features away that they deem irrelevant) - which, if it succeeds, tends to produce a language that is popular with those interested in that niche but otherwise unpopular. Both styles of language (and all those in between) then tend to find zealots. But the number of unsuccessful languages (in terms of uptake by real-world programmers for real-world tasks) in that spectrum significantly exceeds the number of successful ones.
Using deductive reasoning, I would assume they were going in the direction of questioning how qualified you are to judge "the best language" based on how many languages you are actually familiar with.
Of course, I cannot speak for manasij7479, but this seems a much more likely interpretation than them either (1) pulling out a language they think is "best", or (2) endorsing the language proposed in this thread.
Because programming languages are tools - some are better suited for certain tasks, and others for different kinds of tasks. This means there is no global criteria which can be used to judge which programming language might be the "best", hence making such a comparison is simply not valid.
So I guess he just flat out didn't get my joke, did he?
His location says he's in India so maybe he's not familiar with the grade school antics of children chanting, "Boys/Girls rule and girls/boys drool!"
Code - functions and small libraries I use
It’s 2014 and I still use printf() for debugging.
"Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson
one could say that assembly language is the best of all, because it does everything with equal inconvenience and difficulty, while with most languages, only a few things are inconvenient and difficult to do.
What can this strange device be?
When I touch it, it gives forth a sound
It's got wires that vibrate and give music
What can this thing be that I found?
Maybe you could call it C+ ('The Internship' reference) instead of Class-C, considering you're targeting something between C and C++.
Last edited by Yarin; 12-13-2013 at 11:31 AM.
What is meant by "best language". That's like saying there's a "best video game". It doesn't really make sense if you think about it. It's better to say "favorite language" or "favorite video game".