What's the difference between C, C++ and C#?
I never learned any of those and they seem to be very popular.
>>62096509
C is the base language, no OO.
C++ is an attempt at making OO
C# is another attempt at making it OO and slow, but safer than C++.
>>62096523
>C
Also known as "portable AMS"
>C++
Adds OOP, every c program is a valid c++ program
>C#
Adds memory safety and a few nice features (has a drawback draw back, it runs on a tin VM)
C is an old high level language built for embedded systems and drivers (usually) but it can be used for anything.
C++ Is a high level language that incorporates object oriented programming, quite fast but unsafe.
C# is slower but safer than C++ but it's safer.
>>62096509
C is a relatively low-level language used in systems and embedded programming
C++ is a bloated, object-oriented C extension
C# is microsoft's Java clone. the name is just a marketing schtick
So C++ is the way to go?
>>62096662
Learn C first and the way things are done in C, then you learn C++, otherwise you might fall for some retarded coding religion that makes you make unreadable messes.
>>62096755
I do Perl, some Python and R. Is syntax much different?
>>62096855
You will do alright.
Everything but lisp and forth are clones of the algol.
>>62096915
What does the Pajeet measure?
P.S. Why MS Paint and not R?
>>62096915
This implies that something could conceivably be both good and pajeet at the same time.
C and R best girls.
>>62096915
> C++
> Pajeet
???
>>62096560
asm*
>>62097192
Its the Java of the C family
Or it was, until C# came along
>>62096929
Pajeet measures how pajeet a language is.
>>62096560
>Every c program is a valid c++ program
Incorrect. C++ isn't a true superset of C, so one must tell the compiler to compile the C parts of a C++ program as C.
>>62097286
No way...
Is it worth learning if I already can write programs in Perl, Python and R tho.
(If we consider R as an programming language that is)
>Python
>Snakes
>>62098019
What will you use?
A giant foot?
>>62096509
C is portable assembly.
C++ is C but with a load of other shit heaped on over the years to the point where it became unrecognizable.
C# isn't like C or C++. It's a Microsoft version of Java.
>>62096509
Tfw no Lisp waifu
>>62096755
should i learn c if im using c# java and had prevjous experience in viaual basic?
>>62096523
C# is slower than C, but it's still fast enough for anything that isn't a game engine, a numerical simulation, or an operating system (~99% of applications).
C# has speed where it really counts: developer productivity.
>>62100454
C will have some familiar syntax if you're coming from C# or java, but breaking out of the OO mindset will take some work and manual memory management is a wild beast that will take time and practice to master.
C# has nothing to do with C or C++, its not even in the same category of languages (compiled versus bytecode-compiled.) Its a disgrace Microsoft would even hint at this disgusting Java-copy to have anything to do with something as beautiful, elegant and fast as C.
>>62101533
it's all about marketing bro
>C++ ++? Sounds good to me
>>62101573
more like C--------
>>62096509
C is a good language, the others are not.
>>62101641
all languages are shit, it's a question of what's the least shit
>>62096915delete this;
>>62101715
Don't talk shit about my langfu.
>>62101825
Your langfu is ugly.
>>62096509
C and Haskell are debased by the inflated attention from /g/ and the shitty code from /dpt/ posters.
>>62101915
No, take a that back she is perfect.
c is best girl