Announcement

Collapse
No announcement yet.

Unvanquished Begins Landing C++11 Engine Rewrite

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • jayrulez
    replied
    Originally posted by dh04000 View Post
    Lol, another day, another pointless debate on programming languages.
    By more or less the usual suspects.

    Leave a comment:


  • dh04000
    replied
    Lol, another day, another pointless debate on programming languages.

    Leave a comment:


  • Daktyl198
    replied
    Originally posted by dee. View Post
    C++, C, what's with all this high level crap? They should have used assembler.
    Pfft, real men write the binary themselves. Amateurs.

    Leave a comment:


  • dee.
    replied
    C++, C, what's with all this high level crap? They should have used assembler.

    Leave a comment:


  • benalib
    replied
    Originally posted by Marc Driftmeyer View Post
    Any reason they didn't want to move to C99/C11?
    for a small team C++11 is a better choice than C. it's more maintainable

    Leave a comment:


  • clavko
    replied
    Originally posted by siavashserver
    Problem with C++ is that it's very easy to write overcomplicated, obfuscated and hard to understand code if not careful. C version will be lengthier but easier to understand and debug by newbies.
    Not being careful is going to hurt substantially more with C than with C++,
    just when you start wrangling pointers and managing memory... scary. A good
    programming language will help you focus on your task, minimum boilerplate.
    C++ is not ideal, however it's a million miles voyage apart from C. Personally,
    I can't see how anyone could consider C code easier to understand, write or debug,
    provided he's had enough exposure to both to make an informed decision.

    Leave a comment:


  • peppercats
    replied
    Originally posted by Marc Driftmeyer View Post
    Any reason they didn't want to move to C99/C11?
    Because you can write C in C++, even just using C++ simply for templates is a step up.

    Leave a comment:


  • Akka
    replied
    Originally posted by siavashserver
    I guess that's because of flaky compiler support, specially MSVC.


    Problem with C++ is that it's very easy to write overcomplicated, obfuscated and hard to understand code if not careful. C version will be lengthier but easier to understand and debug by newbies.
    No, modern c++ is a lot easier language than c. Do you also think python is harder than c?

    Leave a comment:


  • clavko
    replied
    Originally posted by Marc Driftmeyer View Post
    Any reason they didn't want to move to C99/C11?
    C++ is a safer language, is backward compatible, oop is not an afterthought,
    performance is comparable if not the same, and critical portions can still be
    C and/or even asm. Also there are more people that have some kind of C++
    background. The last, but not least, number of LOC is going to be smaller.

    Leave a comment:


  • ciplogic
    replied
    Originally posted by Marc Driftmeyer View Post
    Any reason they didn't want to move to C99/C11?
    I think is all related with their experience of C++. Otherwise they would use the best choice: Python, obviously.

    Leave a comment:

Working...
X