You are viewing an obsolete version of the DU website which is no longer supported by the Administrators. Visit The New DU.
Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Reply #50: C++ has a lot of warts, but it too has its beauty. [View All]

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » General Discussion Donate to DU
backscatter712 Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Oct-13-11 12:28 PM
Response to Reply #16
50. C++ has a lot of warts, but it too has its beauty.
Edited on Thu Oct-13-11 12:31 PM by backscatter712
It has the conundrum of having to remain 99+% (it's not 100%) bug-for-bug compatible with C, while adding more modern programming features like objects, polymorphism, higher-level data structures, that sort of thing. That forces some ... design compromises ...

You have to spend some time doing things like putting together code to handle operators for your objects, do constructors & destructors, etc. but once that's all put together, and you can start writing on a higher level, that's where it becomes beautiful.

OTOH, C++ is still a language that lets you dig down to your machine's bare metal if you want, and most other languages have far more difficulty with that.

But yeah, I remember a lot of having to write a bunch of code that I wouldn't have had to write using a higher level language (most recently, Ruby).

And keep in mind that when you're using C#, Java, or any of dozens of other more modern languages, you're using syntax that was first in C and C++.
Printer Friendly | Permalink |  | Top
 

Home » Discuss » General Discussion Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC