|
I agree in this case. I was just trying to make a general point, as obviously some of the other languages listed are clearly very different from C but use C-syntax.
Kevin
|
|
|
|
|
Haha, I have to agree that the syntax looks alien!
Just wanted to defend it!
Use to love it in 1998!
|
|
|
|
|
Super Lloyd wrote: Haha, I have to agree that the syntax looks alien!
I agree, and my brief experience of Objective C was that it was awful. Swift is much nicer just from no more than a glance at it!
Kevin
|
|
|
|
|
Oh don't mind me, I was just exaggerating because the weird syntax and the weird IDE (== different from what I usually use) had me annoyed a bit.
|
|
|
|
|
I'd rather be using something like Rust[^], but as no-one is paying me to do that, C++ it is.
And for the record, C# is pretty much Visual Basic with some curly braces and semicolons randomly sprinkled around
|
|
|
|
|
Nemanja Trifunovic wrote: And for the record, C# is pretty much Visual Basic with some curly braces and semicolons randomly sprinkled around My thoughts, really!
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
So what is your least disliked C-style language then?
From what I can see from various posts only Rust looks like the most worthy competitor to C++.
Kevin
|
|
|
|
|
Kevin McFarlane wrote: what is your least disliked C-style language
Perl?
Probably only because I don't use it any more.
|
|
|
|
|
I guess Perl should have been in that list. It would certainly be top of my most disliked.
Kevin
|
|
|
|
|
Nemanja Trifunovic wrote: C# is pretty much Visual Basic with some curly braces and semicolons randomly sprinkled around
Sacrilege! Though, yeah, the difference between C# and VB is not actually the language, but the programmer!
Marc
|
|
|
|
|
Provides all of the object-orientation needed for large projects, and may be pared down (almost) to C for kernel-level programming.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Amazing, all other language come from C, so C/C++ you can do anything you want. even C# comes from C/C++. I've been using C since the early eighties, do not get me wrong I like C# and other languages and they have there place. But if I'm working on the low dirty stuff like drivers I always use "C". I hope most people agree with me, that once you learn a language the other one come easy. The problem is most people don't really learn one language so they have trouble with other languages. I wish that schools would stick to one language so the student would learn programing and not "Copy" and "Paste" technique.
|
|
|
|
|
dennislx wrote: all other language come from C
Many languages preceded C, among them Fortran, COBOL, Lisp, Algol (-60 and -68), BASIC, Pascal, and probably others.
I agree with you regarding the teaching of programming. It is better to learn one language well than to learn half a dozen poorly.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Swiss army knife styled C programming. The problem is, you may get yourself hurt with it if you don't know what you are doing.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
|
I like Shawarma[^].
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
I shawarma! Had some yesterday with a large (simple) salad, a few boiled new potatoes and an ice cold brew. Hit the spot!
/ravi
|
|
|
|
|
I'd doubt the taste of someone who doesn't enjoy these items. Even Avengers agree[^].
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Native C is dangerous too. Bad pointers have left me up all night in the past. I'm going to stick with C# until I retire.
ken9322
|
|
|
|
|
1 - Simple. (After learning the overwhelming topic of pointers it becomes a breeze).
2 - easy to use.
3 - Small std lib.
4 - Can be portable.
5 - Work on both HW and SW. Get to understand computers in more depth.
6 - Can be object oriented.
7 - Can be any thing really.
"Program testing can be used to show the presence of bugs, but never to show their absence."
<< please vote!! >></div>
|
|
|
|
|
C is easy to learn and use, it takes a bit more time to learn how to use it properly; once you learn about recursion you will really understand C and C++ and you will become a Programmer.
"C" is small, the classic "The C Programming Language" of Kernighan & Ritchie should be compulsory reading for every one who wants to "do programming".
Std lib is nothing to do with "C" it is a library that is included with most C compilers.
Most of the other languages are derived from C; C++ was originally implemented using the C preprocessor.
C# is like Basic (remember that from school?) - it is in the name - Beginners.
|
|
|
|
|
John Pearce wrote:
"C" is small, the classic "The C Programming Language" of Kernighan & Ritchie should be compulsory reading for every one who wants to "do programming". The suggested books for learning C programming in Computer Engineering in my university were all bricks of 500+ pages... and IMHO they failed miserably in teaching anything. Then I discovered K&R, almost doubted about it since it was SO slim that even my old MS-DOS manual shipped with my very first PC was bigger.
K&R simply gets to the point straight, fast and with the force of a freight train. It hides nothing, it doesn't derail. I love that book and keep it religiously clean and maintained in my library.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
Will they please cancel their accounts and learn a language that actually works?
Just kidding, in fact, stick on CP and you might actually learn some good languages
Now in all seriousness, why the hell would you vote JavaScript!?
Actually, why would you vote anything else than C#
I really like C#, elegant, concise, does just about everything.
But I'm not married to it or anything.
And ok, I admit JavaScript has some cool stuff too (but it's still the worst language I know and that's the true, the whole 'non empty string', and nothing but the {}).
|
|
|
|
|
Javascript has become a real programming language. I read that even Ramsonware like Locky can be implemented.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Yeah, it's everywhere. Front-end, back-end, embedded, desktop...
That still doesn't make it a good language though
This sums it up pretty nice[^]
|
|
|
|