11
demiDev
6y

c or c++?
Why?

Comments
  • 6
    C. Because it's simple. C++ is bloated with too many features I don't need.
  • 1
    I dislike both if you have dependencies.
  • 3
    Why not to learn both?
  • 6
    Depends on your application and preferences. I like C++ more in general because of its more advanced features (const, smart pointers, compile time stuff, templates, lambdas, OOP, references) and better libraries for everyday stuff (eg. STL), but C is pretty great too if you want to keep things simple. They're equally capable of generating fast, minimal code if you know what you're doing.
  • 1
    you cant cheat complexity.

    Complex remains complex

    You can shift a program to a complex language to reduce source code complexity

    but in the end it[c or c++] doesnt even matter ~

    source: my ass
  • 7
    Your question is missing an important part. What are you planning to do with it?
  • 1
    @musician
    Nothing.
    Just comparing them
  • 3
    C-Basics don't hurt anyone.

    Dependent on how fast you want to see results and what the requirements of your future projects will be, you might necessarily end up with C++

    Anyway C is slightly better in performance where C++ is easier to manage and (just my 50 cents) read if your code needs to be reviewed or maintained by others due to OOP.
  • 1
    @rantsauce Yea. You know, like strings... :))
  • 1
    It really depends on what you're doing. Personally I prefer the added features of C++ but I'll work in C when it's more suitable.

    My thesis is based around GPU programming so there'll be a mix of both throughout which is great. Use them how you feel and see what you prefer and what works.
  • 0
    C without question. You can concentrate on the problem at hand instead of being bombarded with language bullshit.
Add Comment