![]() |
Re: C++ is it right for you, and how did you know?
Quote:
Quote:
Quote:
Quote:
Languages are easy, systems are hard. |
Re: C++ is it right for you, and how did you know?
Quote:
That's actually one of the biggest problem in my sector: There's a myriad of coders (mostly from a non-programming background - people who were pulled from some other department) who write code that's somehow doing the job, but most definitely don't understand even the basic concepts behind programming. Does their code work? Somehow... Is it stable? Barely... Is it easy to modify? Definitely not! Is it re-usable? Re-what? Is it performant? Sure, nesting a dozen loops with database selects always is! Is it easy to use by the end user? No, but they're used to it. |
Re: C++ is it right for you, and how did you know?
Quote:
C++ in "Qt style" isn't a good description of what you get if you start to learn C++. Just for fun, explain how the compiler turns the following snippet into something that can run (in terms of name spaces, types and operator resolving) and, for extra merit, explain how the runtime is involved when it's executed: Code:
std::cout << "Hello world!" << std::endl;And when you leave these "simple" examples behind and start to get object oriented, new problems arise. Like, what's the harm, if any, in not having a virtual destructor in a pure virtual class? This might sound esoteric, but it's not. There are so many other things to keep in mind when building more complex programs than "Hello world!" that I see no reason to start out with C++ to learn programming. |
Re: C++ is it right for you, and how did you know?
Quote:
Quote:
Knowing an off-the-shelf solution is much nicer than going ad-hoc every time something fancier is needed. Not to mention how the knowledge of the "official" basics help when you need to communicate with others, even for just reading someone else's code. That said, programming can be learned without the CS 101 stuff. But if done that way, it will be useful to go back at some point and fill in the gaps. Worked for me, at least. To OP: I recommend Java or Python for first language. Java probably has a lot of literature available for beginners. C++, IMHO, requires a lot of practise until you actually get to a level where you can understand other people's code. I wouldn't recommend it for first language. It's helpful if you're allowed to forget some complications like memory management while learning the very basics. |
Re: C++ is it right for you, and how did you know?
Quote:
Quote:
Quote:
A similar effect happens on any platform. Sometimes the compiler sees through your shenanigans and corrects the code. Otherwise, you just end up with sub-standard code. I'm a wandering a bit off-topic here, but another example: I usually code in Delphi (Enhanced OO Pascal), and have been part of an argument that C was superior in speed. Someone wrote a chess program in C, and then translated it in Delphi. Code ran at 15% original speed, prompting that person to consider Delphi an amateurish joke. After a while, someone noticed the site and re-wrote the port according to Delphi guidelines. Result was 98+% speed (Delphi has overhead over C). Why is this here? Because that's how much it matters to know your compiler and your platform. You can go with whatever language you want. There's always going to be a place for you if you're good at it. Plus, knowing your platform is going to help you when you switch languages, and knowing your language is going to help you switch platforms. Oh, and, I saw C/++ and I immediately knew it WASN'T for me, if that helps :) |
Re: C++ is it right for you, and how did you know?
Quote:
As well, I view university as a needed waste of time and money. Two of my better friends opted to work and skip college, we all ended up in the IT field, but with my degree I was and continue to make more yearly than they do (15k on one, 18k on another). Sadly, I know one of them knows way more than I, but that lack of degree holds him back. *shrug* ...and just to add, if I set a focus on C++ I'll be damn sure doing my own work outside the coursework assigned in class. |
Re: C++ is it right for you, and how did you know?
C++ has it's place, due to speed mainly, for applications such as gaming. In regards to other industries such as distributing computing, networking, or desktop applications then it has mostly, and rightly, been left behind. Unfortunately this affects the take up of Qt, being c++ centric, whereas the ease of Java has helped Android development explode. Personally, if it wasn't for the Python Qt bindings, I would not have bothered with Qt or n900 development at all. And I say that as the guy who started the n900 coding competition heheh :P
Learning C++ wont do you any harm at all - it's good to learn any language and legacy languages, even Cobol, are always in demand as people move onto newer languages. But Java would be my recommendation. |
Re: C++ is it right for you, and how did you know?
I wondered the same thing awhile back so about a month ago I got on amazon and ordered C and C++ programming for beginner training suite ed. 2009 to get me start. It was like $25 so if you don't wont to go the school route than it might be worth checking out.
|
Re: C++ is it right for you, and how did you know?
Quote:
The thing is, C++ doesn't give you very much. Anything you want to do outside of console-restricted "Hello, World!" or "I am an animal" : "I am a cat" inheritance requires a third party library. Most third party libraries are like languages of their own. Graphics, Networks, IPC, GUI, AI, Database. All these things are topics which you will need to familiarize yourself with and find 3rd party libraries for. C++ just gives you the tool to make them do stuff. There are literally SO MANY THINGS you need to know to begin to do anything useful with any programming language that learning a programming language is RIDICULOUSLY trivial in comparison. I don't mean to discourage you. I just want to correct this importance I'm picking up on that you attach to languages. The language isn't that important. Pick any one of them and go from there. What I absolutely recommend you do after you get comfortable writing little programs and adventuring on your own in that language is to try and code in assembly. Then you'll get an appreciation for how to program. Just remember that EVERY SINGLE programming language you could possibly choose will eventually become a very similar sequence of machine code instructions. |
Re: C++ is it right for you, and how did you know?
Quote:
Web development also seems like an area where they don't care about degrees that much. |
| All times are GMT. The time now is 19:02. |
vBulletin® Version 3.8.8