If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Good way to learn programming?

Is learning Java > Haskell > C++ a good way to learn programming?

I was thinking of doing it this way as I've tried learning C++ in the past but I always hit a road block and lose motivation.

The logic behind this is to learn Java first as it is more forgiving compared to C++ then move to Haskell as I got told learning a functional programming language is quite useful and then to C++ where I can work on mastering what I know.

I know this may come across a bit silly but I've had multiple attempts at learning programming and I always jump in a the deep end and hit a road block and end up giving up. I was doing some C++ programming in QT a while ago but I just was getting nowhere beyond simple applications and lost interest.

I know many people recommend jumping into C++ and learn as you go, I can do that fine but after I've got the syntax down and its time to learn External APIs and Libraries I kinda lose motivation. It also seems you can get results a lot faster in Java compared to C++ e.g. Windows GUI Programming.

You should learn Java first if you want to learn the c++ it would be really nice if you've some idea about the c language here are the site where you can find the learning tutorial of it w3schools.com and on lynda.com there are tutorials of c and c++

A large part of learning a coding language is the structure, files types, formation of projects, and other things not directly related to what you are typing in.

Syntax is a smaller part. Once you've learned how to program in general, things get easier, because then you are just changing out the syntax, and some other minor changes. I started with C++, then Java, now C# and XNA. It gets easier, so keep on going.

Time kills us in our sleep and we watch it happen in our dreams. -K.K.

Basic is a perfectly acceptable first language depending upon your needs. If your goal is to learn a modern object oriented programming language, then no, basic is not the right choice. However there is something to be said for simplicity as your first language. If not we would all be learning assembler, forth, or machine language as our first language.

I personally think that learning Java, or C++ as a first language sets the learner up for a hard time. They are both object oriented languages but they are heavily influenced by functional programming. Ruby, Python, Smalltalk and others like them have greater emphasis on object oriented design and implementation. The higher level languages also take some of the grunt work out of programming. You have less syntax to learn, and can focus more on the fundamentals of programming.

If you wanted to learn how to build a house would you go to the hardware store and stare at all the hammer and saws and other tools? No. So why would you learn how to program by memorizing various languages.

The best way to learn any programming language is to start first the core structure (means syntax), database connection, finally the implementation of code. So first start C++ with the OPPs concept, then go for other high level languages. I hope you can catch easily.