+ 1

Well I just know few basics of c++ and I am taking python course here ,python looks easy, is it really or its just my imaginatin

28th Sep 2018, 10:16 AM
haris arshad
haris arshad - avatar
5 ответов
+ 1
thanks mate
28th Sep 2018, 11:28 AM
haris arshad
haris arshad - avatar
+ 4
python can be less intimidating for beginners than C++ , so it is easy to learn a language it but difficult to master it
28th Sep 2018, 10:38 AM
Frost
Frost - avatar
+ 1
Ruby has a lot more stuff than Python, so arguably it's more difficult. But Rails is definitely really magical.
28th Sep 2018, 11:39 AM
LunarCoffee
LunarCoffee - avatar
0
Everything is written in a simpler syntax and a lot of the cumbersome stuff like memory management is done automatically. If you have looked at arrays in C++ ... you have to watch out for the limits, you may have to throw around pointers to do stuff, you have to define one type you put in there, the length is fixed ... With a Python list, you just cram in there whatever you want: ints, floats, strings, sets, other lists with other lists in it, self-made objects ... also the size doesn't matter, you don't even have to know it, it's like a bucket. Accessing the elements is super simple too. Having things that simple obviously means that Python is doing all the work secretly for you and you may have less control or speed... but is it simpler? I think there's no doubt about it. If you want it even simpler, take a look at Ruby: Ruby calls code what I would call twitter. ;-)
28th Sep 2018, 11:27 AM
HonFu
HonFu - avatar
0
How difficult a language is as a whole, with all the applications, add-ons and whatnot, is still another issue. But if you just look at the daily bread and butter, syntax, types, loops, functions, classes etc., the stuff you need to learn first, you can see a difference. So when you're just beginning and C++ just confuses you, Python or Ruby may give you an easier start.
28th Sep 2018, 11:47 AM
HonFu
HonFu - avatar