Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C/C++, which one first
#51
Mixing therms. Read my prev post, we are having two different conversations here which are not related.

1.- Learning C before C++ is good?

and

2.- Proper OOP.

My points fo view:

1.- Yes 'cause it's good to understand how stuff works.
2.- C++ is not good for learning OOP. It's good when you know OOP.

Quote:You're assuming the implementation is exposed. If you only had a listCreate that returned some form of handle, you now are forced to use listGet and listPut. Is C bad because it let's you - like C++ - create an 'unsafe' level of encapsulation ?

You missed my point. I was trying to explain the main differences between OOP and procedural. Nothing else. And that was just an example. Don't discuss for the sake of it Wink
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#52
1. Learning C before C++ is good?
It's good in much the same ways as learning assembler before C. Ie, learning a language is always beneficial, but I don't think there's a need to learn C to be able to get the most out of C++, as I typically use very little from it.

2. Proper OOP.
Program in Java. If you want a bigger toolbox, program in C++.
stylin:
Reply
#53
Quote:1. Learning C before C++ is good?
It's good in much the same ways as learning assembler before C. Ie, learning a language is always beneficial, but I don't think there's a need to learn C to be able to get the most out of C++, as I typically use very little from it.

2. Proper OOP.
Program in Java. If you want a bigger toolbox, program in C++.
Or program in C#. C# is much more cleaner and efficient as an OOP language (when compared to C++), and doesn't come with all that excess baggage that you find with C++. I've used both, and C# is way more easier of a programming language to use. But anyways, I've spent enough time on this thread; time for me to move on.

Nathan: Well said and thanks for the compiler info. Big Grin
Reply
#54
C# is Java with C++ syntax :lol:

And VB.NET is Java with VB syntax.

M$ is wise :lol:
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#55
Seriously, IMO, learn FB first. It's getting to the point where if you learn it right, you will learn a very clean (option ;p) explicit way of programming. and Lots of concepts carry over. You can use pointers, overloading, zStrings, bit shifts, recursion, typedef, etcetc.

All I know about c and c++ I learned with a foundation of knowledge in FB.
Reply
#56
Well, it's easy to see who the C++ zealot is in this thread... :laughing:
\__/)
(='.'=) Copy bunny into your signature to
(")_(") help him gain world domination.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)