Original Post
Can anyone tell me what are the cons and pros(detailed) of all programming languages like C,C++,C#,java,python,basic,assembly and others. Thank GOD this place exists!!!
Quote:
Original post by Darobat
ToohrVyk:
A few things you said weren't quiiite true.
C++ CAN be faster than C#. You can optomize C++ but not C#. Having the ability to optomize will allow you to increase its speed.
Quote:
Garbage collection isn't always a good thing. It is why I hate java and C#. If you just program safely in a non-garbage colecting language, then there is nothing to worry about.
Quote:
Original post by Mayrel Quote:
Original post by Darobat
ToohrVyk:
A few things you said weren't quiiite true.
C++ CAN be faster than C#. You can optomize C++ but not C#. Having the ability to optomize will allow you to increase its speed.
Let me get this right. You can't optimize C#?
Quote:
Quote:
Garbage collection isn't always a good thing. It is why I hate java and C#. If you just program safely in a non-garbage colecting language, then there is nothing to worry about.
Hmmmmmmm. Body armor isn't always a good thing. If you just dodge bullets whilst wearing a day-glo orange suit, then there is nothing to worry about.
Quote:
Original post by ToohrVyk
C++:
+ the STL, prevents reinventing the wheel every time you need to copy a string or use a linked list etc
Quote:
+ fresh language, some flaws of previous languages have been corrected (such as switch case fall-through, explicit conversion of int to bool...)
Quote:
+ Fast!
Quote:
+ garbage-collected.
Quote:
+ Direct use of the Windows and DirectX APIs
Quote:
- although multiplatform, a .NET standard implementation is required for it to run. Mono provides it on Linux and Unix, but esoteric platforms cannot run it.
Quote:
Original post by MayrelIt doesn't prevent it, it just makes it unnecessary. Plently of people still go ahead and reinvent the wheel anyway.
Quote:
Not everyone thinks fall-through is a flaw.
Quote:
Compared to what?
Quote:
- Lack of control over the GC.
Quote:
In what sense is this more 'direct' than in C/C++? The C# language itself doesn't contain these APIs, and neither does the CLI.
Quote:
1. Mono is not a .NET implementation, it is a CLI implementation. .NET includes a lot of features that are not part of the CLI standard. Whilst Mono provides versions of many of these non-CLI components, many others have been plastered with patents and are unlikely to be available in Mono.
2. But that doesn't really matter because you don't need a .NET implementation to run all C# programs, you only need a CLI implementation. And you don't even need that if C# was compiled to native code: it's likely that if future versions of gcc include support for C#, it will, like gcj, support compiling to native code.
Quote:Body armor isn't always a good thing. Wearing plate mail won't stop bullets, and kevlar won't stop knives, and when you're at the grocery store not worrying about either situation you'd just be carrying around dead weight that is slowing you down for no good reason.
Original post by Mayrel
[...]Quote:
Garbage collection isn't always a good thing. It is why I hate java and C#. If you just program safely in a non-garbage colecting language, then there is nothing to worry about.
Hmmmmmmm. Body armor isn't always a good thing. If you just dodge bullets whilst wearing a day-glo orange suit, then there is nothing to worry about.
Quote:
Original post by Extrarius
GC is the same way - one type will solve one set of situations well, another a different set of situations, and just turning it off might be best sometimes.
Quote:
Original post by Extrarius Quote:Body armor isn't always a good thing. Wearing plate mail won't stop bullets, and kevlar won't stop knives, and when you're at the grocery store not worrying about either situation you'd just be carrying around dead weight that is slowing you down for no good reason.
Original post by Mayrel
[...]Quote:
Garbage collection isn't always a good thing. It is why I hate java and C#. If you just program safely in a non-garbage colecting language, then there is nothing to worry about.
Hmmmmmmm. Body armor isn't always a good thing. If you just dodge bullets whilst wearing a day-glo orange suit, then there is nothing to worry about.
GC is the same way - one type will solve one set of situations well, another a different set of situations, and just turning it off might be best sometimes.
Quote:
The people who ask this question typically don't have any specific project in mind; if they did, it would be a lot easier to answer them. Instead, they're really saying "I don't know much about programming, but I think it might be kind of fun. Where's the best place to start?"
Quote:
A shorter way of saying this is: don't worry about learning the syntax of a language. Don't concentrate on it. Don't spend time worrying about it. Learning where the semicolons or parentheses go will come by itself, as you write code and go through compile-run-test cycles. Look that stuff up when you need to, but understand that "learning what a constructor in Java looks like" is, in the long term not a valuable thing to concentrate on. Learning what a constructor is and what it does is a valuable thing to concentrate on.
Quote:
Practical Considerations
Programming is fundamentally a "learn by doing" activity, so your language choices are somewhat constrained by the need to use a language that can actually run on your operating system of choice. This still leaves you with a fairly wide set of options.
Language availability isn't the only practical consideration. If applicable, is there a debugger for the language you want to use? What set of libraries will you be using? How much documentation is available for the language you want to learn? Is there an active community you can turn to for help?
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more