'Mithrildor' said:Or you throw the books out of the window and you use internet. learncpp.com
That book http://greenteapress.com/thinkpython/ is a free download, so technically it's "using the internet".
Last edited by a moderator:
'Mithrildor' said:Or you throw the books out of the window and you use internet. learncpp.com
That book http://greenteapress.com/thinkpython/ is a free download, so technically it's "using the internet".
After a few semesters of C++, I've actually found Python to be very confusing.'optional106' said:Thanks for the suggestions, i'll look them both up ,Python & C++
I know both sides could argue until the cows come home, as both must have their good and bad points.
I'll probably just go with the easiest and most logical though, as everything does seem really intimidating from a non-coders point of view.
'lulzfish' said:Good for learning I guess, but I can't see using it practically.
Just to dispel any bias that python is good for learning, but bad for general use: there's a lot of software written in python that works just fine.
The thing with typos, it only happens on assignments. And you can use stuff like pylint to spell check those.
It's more logical if you find it logical. After fighting against the type system for years in C, C++ and C#, I find being able to bind objects to names, those objects being functions, numbers, strings or remote objects or whatever much more logical.
Yeah, good old time, unfortunately there weren't many graphical calculators back then in my classes so no sharing done on my side.'Dutch_Cap' said:TI83, now that bring back some good memories. I spent more time programming in math class than I did doing exercises. The most advanced thing I wrote was minesweeper, in graphical mode. I also made a simple platformer in textmode (graphical mode was too slow for stuff like that).
Also, before any test that involved a calculator, we'd use the cable to share cheatsheets.
Its not so low-level, I think mid-level is a better term for C++'Mr devil45' said:Because C++ is so low-level, it makes it easier to program games that run at decent speeds and are perfect for the underlying hardware. python is quicker tho...
im currently programming a very basic fps, and it will probablytake a long,long time in C++.but one day, i will have a game mch worse than anything i can buy in a shop,and i will say:WHY???????
'God Ginrai' said:Second, on the topic of Python. I haven't tried to learn it yet, (I busy myself with other languages atm)but some of my friends have. When I look at Python's code, it looks like it's trying almost too hard to be high level.
If I were to suggest something for you to learn programming. I would suggest either PHP or Java. PHP is really easy and will teach you many of the basics you need to know as far as thinking about the logic used, not to mention, it isn't fully object-oriented like Java. Java will help you to learn some of the more strict rules that you find in other languages that are absent in PHP. It's a good language, even if it can be a little irritating at times. I would suggest learning PHP, then Java, but it's your choice about what you do and don't learn, anyways.
PHP is a horrible little inconsistent language. It has evolved organically without control and has borrowed most of Perl's bad parts. It's useful to know, but not a way to learn programming. It is in no way more or less high level than Python, that's just your impression.
Java is very restrictive. It has arcane rules and forces OOP on people. It is really not good for teaching people how to program.
To be good for learning, a language must allow procedural programming and an easy path towards more abstract concepts like OOP and functional programming. Python, Ruby and to some extent JavaScript provide this.
'fahrstuhl' said:Somehow off-topic: What about D? Anyone with some experience around?
Very interesting language, I've used it a bit. Although it is low level and you still have loads of rope to hang yourself with, you can still write safe code rather easily.
It also has a very good subset of useful language features from C++, Java and a handful of others. C speed, Java's type system, optional garbage collection, stuff like .dup and ~. Also very concise and readable. D code tends to be shorter than C++ or Java and almost as short as Ruby or Python sometimes.
Very nice language overall, it's main problem is that it's new. Compilers aren't that good or portable, it already has a legacy stdlib and documentation is scarce. All in the process of being fixed by stuff like LDC and tangobos.
It has some interesting points that makes it better for systems programming, but if you try to make something functional (aka with the functional programming style) or multi-threaded, it leaves a lot to be wished for. And I don't know how it is with libraries; but I haven't seen many D headers around (am I wrong on this point?)fahrstuhl said:Somehow off-topic: What about D? Anyone with some experience around?
'sindbad' said:That post makes D sound like the uber-language... Thanks for the quick answer. Do you know any place to get started with D? ^^'fahrstuhl' said:Somehow off-topic: What about D? Anyone with some experience around?
Very interesting language, I've used it a bit. Although it is low level and you still have loads of rope to hang yourself with, you can still write safe code rather easily.
It also has a very good subset of useful language features from C++, Java and a handful of others. C speed, Java's type system, optional garbage collection, stuff like .dup and ~. Also very concise and readable. D code tends to be shorter than C++ or Java and almost as short as Ruby or Python sometimes.
Very nice language overall, it's main problem is that it's new. Compilers aren't that good or portable, it already has a legacy stdlib and documentation is scarce. All in the process of being fixed by stuff like LDC and tangobos.
'fahrstuhl' said:That post makes D sound like the uber-language... Thanks for the quick answer. Do you know any place to get started with D? ^^
Meh, just a good language. Put it on the list with Python, Ruby, Scala and half of JavaScript. Probably the only good system programming language. Very good for huge games and other stuff that can't get the performance otherwise.
dsource.org and the digitalmars website will help.
sindbad said:Probably the only good system programming language.
Haskell is pretty good too (and certainly more popular than D), although I don't think that you should do down-to-the-metal stuff with it.
I said that PHP would be good for learning the basic logic of languages. I never said that he should only learn PHP, merely start with it.'sindbad' said:PHP is a horrible little inconsistent language. It has evolved organically without control and has borrowed most of Perl's bad parts. It's useful to know, but not a way to learn programming.
Did you even READ my post? I never even compared PHP to Python. I even put whitespace between the two topics to show that they were not related to each other.'sindbad' said:It is in no way more or less high level than Python, that's just your impression.
The fact that it forces OOP on you is one of the things that is irritating, but still, it's strict nature teaches you not to make as many mistakes, from my experience.'sindbad' said:Java is very restrictive. It has arcane rules and forces OOP on people. It is really not good for teaching people how to program.
No language is good for learning. You get better at programming by learning techniques. Even just doing a lot of code in mIRC scripting will help this guy. You don't need any special language that has a little bit of everything, you just need something simple enough that you can learn the melody of logic.'sindbad' said:To be good for learning, a language must allow procedural programming and an easy path towards more abstract concepts like OOP and functional programming. Python, Ruby and to some extent JavaScript provide this.