Main > Everything Else
C++ programing
Chris:
--- Quote from: ChadTower on December 28, 2006, 10:46:04 am ---I dramatically disagree that you have to "unlearn" anything to move from one language to another. Ever. All concepts do not apply or work optimally in all languages but in 15 years of coding I have never intentionally unlearned anything I have used.
C is procedural (often specifically structural like Pascal or Ada). C++ is procedural or object oriented (in a generic manner, again like Ada).
--- End quote ---
Well, perhaps I should qualify that to say that I've found it difficult for me, to the point where I'm still writing in C even though I know my main project (the jukebox) would probably be better served by C++. But I have 25 years of procedural programming inertia to overcome. I really should convert the jukebox to C++ just to force myself to use it and get out of my comfort zone.
--Chris
ChadTower:
Fair enough. I have always had to bounce between all types of languages from day to day so there isn't any inertia for me. On any given day I'll be knee deep in PERL, C++, Java, or any number of other languages depending on what I'm doing that day. It's a pain in the ass sometimes but it forced me to develop a full understanding of the concepts rather than the applications of each language.
Grasshopper:
--- Quote from: CCM on December 28, 2006, 10:32:42 am ---C has been around much longer than Linux. It was developed for Unix back in the early 70's.
--- End quote ---
Oops, my bad.
I've got into the bad habit of using the terms Linux and Unix interchangeably.
Grasshopper:
--- Quote from: Chris on December 28, 2006, 08:27:32 am ---The problem with learning C first is that you do things in C and C++ in such dramatically different ways that you need to "un-learn" some stuff to go to C++.
--- End quote ---
The problem is that even if you've chosen to use C++ as an OOP, you're still going to come across a lot of code written by people who are using C++ as basically C with a few bolt on extras. So you still have to know about the C way of doing things.
ChadTower:
You have to understand both procedural and object oriented programming to be an effective professional anyway.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version