languages and learning

Well ive just started learning two languages, one in school and one externally, in school we are learning python from books and outside of school I am learning C++ from a very nice website. I am personally finding python much harder to learn and I am not sure wether its the way I am learning it or its the formatting of the language. Ive found C++ very easy to grasp as to me it makes sense , when im coding I understand why the function is called what it is and preciesly what it does however with python I find im always having to look for the bit of code or the bit of syntax.

That’s just because Python is different. Believe me, once you get past the syntax you will realize Python is much easier to use/learn than C++. Its just so much higher level.

well I think it may also be the tutorials we using it litterally jumped straight from basic stuff to TKINTER and designing that kind of thing.

If you’re learning C++ I’d suggest focusing on the following assuming they’re “holes” in your current knowledge base. Program without classes unless you need polymorphic call-sites. And perhaps toy with mimicking class-based OO by manually managing the structure pairs (class & instance). So work on low-level while thinking high-level. Once you see how to lower call-sites for single dispatch, think about multiple dispatch and you’ll see just how boring and limited stuff like the visitor pattern is (simply a single example of manually building call-sites) Other than the low-level the most interesting feature of C++ is declarative specification, type specialization macros aka templates.

I assume you already know Java. :slight_smile:

C++ is close to Java (or better: the other way around).
Python is much more different to both Java and C++.

It’s like if your mother language is German, it’s much easier to learn English than to learn Russian, because English is close to German, but Russian is not.