Thread: Another esbo thread hijack trying to start a flame war

  1. #16
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    C++ is newer and accepted by plenty, and used by all famous programming companies, so you use it, end of story xP
    Why light a fire with stones, when you can use a lighter? :P
    Currently research OpenGL

  2. #17
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    937
    What problem is this fixing? In some very poor parts of India, a man might douse his wife with kerosene if he is unhappy with her. It is a cheap, effective and widely available weapon. Fortunately, it is not often so premeditated that a man would seek out an appropriate base, such as Styrofoam, and instead launch a napalm cocktail at his former lover. Although I'm sure such incidents are occasionally reported.
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  3. #18
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    It's called moving from the old stuff to the new stuff! There doesn't have to be a reason, you just do it!
    Currently research OpenGL

  4. #19
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Usually, we move to new stuff because of a reason. Usually, it is because it provides more benefits, or it's cheaper.
    So it is with C++ over C, as well. C++ is very much a all-in-one language, incorporating not one style but many.
    I have always argued that C should go away and be replaced with C++, but unfortunately, the world does not always agree.
    C is still cheaper to implement than C++, which is probably the biggest reason it's still in existence, especially for embedded systems.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #20
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Maybe there is a reason, you just don't have to know it xP
    All the sexy people code in C++ >: D
    Currently research OpenGL

  6. #21
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Haha yes, they are plotting in secret to kill C++ and reimplement C as the standard world-dominating language
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #22
    Registered User
    Join Date
    Oct 2008
    Posts
    1,262
    Wow. I had to be bored to death to read this topic. How bored must you guys be replying?
    Seriously, why even throw food to the troll?

  8. #23
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Call the FBI... We've got a "situtation" here B-|
    Currently research OpenGL

  9. #24
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by EVOEx View Post
    Wow. I had to be bored to death to read this topic. How bored must you guys be replying?
    Seriously, why even throw food to the troll?
    Not bored at all. I'm trying to reason out why esbo is such a fool to see C++ such a waste.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  10. #25
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Well, atleast I'm posting 'cause I'm bored... EVOEx, how did you know? o.o You better not be stalking me!
    Currently research OpenGL

  11. #26
    Fountain of knowledge.
    Join Date
    May 2006
    Posts
    794
    Quote Originally Posted by Elysia View Post
    So why not use C++, where it's available in native form, instead of trying to hack into C?

    Because I didn't need too, it offered me nothing (little or next to nothing) apart from the hassel of learning the syntax and reading about a lot of wooly and wierdly named and confusing concepts

  12. #27
    Fountain of knowledge.
    Join Date
    May 2006
    Posts
    794
    Quote Originally Posted by matsp View Post
    And you are obviously not interested in writing large, maintainable and reliable software.

    --
    Mats
    Absolute non-sense ad C++ does not guarantee the above anyway.

  13. #28
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by esbo View Post
    Because I didn't need too, it offered me nothing (little or next to nothing) apart from the hassel of learning the syntax and reading about a lot of wooly and wierdly named and confusing concepts
    And what exactly was it from the "C++ part" that you needed to use in C, which C++ could not do better?

    Quote Originally Posted by esbo View Post
    Absolute non-sense ad C++ does not guarantee the above anyway.
    And how big projects, exactly, have you worked on? How big the team and how many lines of code?
    And why do you go against known industry facts? Is it because that they are untrue to you, as you see it?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  14. #29
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by esbo View Post
    Absolute non-sense ad C++ does not guarantee the above anyway.
    Of course, lots of examples here and otherwise show that it's entirely possible to write rubbish code in almost any language. But most people that have experience in working on large software projects.

    I currently work with code where the entire code-base including test-code is tens of megabytes - written mainly in C++, but some third party code is using C.

    I have also worked on code that is pure C [or at least "not C++"], of similar size.

    Neither language makes the task straightforward or simple - there is a need to know what a lot of code does - but C++ certainly has some features that IMPROVES the ability to write large programs in the language - for example, the fact that you can keep portions of a class private and access it through setter/getter functions (or similar) makes it possible to know if changing the class is going to affect a lot of code or not - which is more than you can say if you are trying to make the same decision about a struct in C - you have to literally search for the struct member [and then from the search results sort out which are REAL hits and which aren't, as searching for "address" as a member of a struct may of course find all sorts of other things named "address".]

    But there are certainly successful, large projects written in C too - it just is a bit harder version of "not easy".

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  15. #30
    Fountain of knowledge.
    Join Date
    May 2006
    Posts
    794
    You can design and write bad code in any language, I don't really see what makes C++ so special.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple thread object model (my first post)
    By Codeplug in forum Windows Programming
    Replies: 4
    Last Post: 12-12-2004, 11:34 PM
  2. Replies: 2
    Last Post: 04-12-2004, 01:37 AM
  3. Closing thread handles from within
    By Sang-drax in forum Windows Programming
    Replies: 6
    Last Post: 09-26-2003, 12:18 PM
  4. How to make a thread sleep or std::recv timeout?
    By BrianK in forum Linux Programming
    Replies: 3
    Last Post: 02-26-2003, 10:27 PM
  5. Multi-Thread Programming
    By drdroid in forum C++ Programming
    Replies: 6
    Last Post: 04-04-2002, 02:53 PM