Nope, sorry. Python is an easy, good language. Basic was not popular because it was easy, or even good, it was popular because it was everywhere. JavaScript, for all its warts and foibles, is the new basic. It's easy enough, and it's everywhere.
Python is the new BASIC
91–100 of 137 posts
Re: Python is the new BASIC
#92 To truth only a brief celebration of victory is allowed
between the two long periods during which it is condemned
as paradoxical, or disparaged as trivial.
1. https://en.wikipedia.org/wiki/Arthur_SchopenhauerRe: Python is the new BASIC
#93Earlier quoted context omitted.
Python, fwiw, is a better BASIC. It includes a built-in Turtle graphics system and a decent IDE. You can teach loops and draw graphics in just a few lines of code: import turtle turtle.setup() turtle.forward(100) turtle.turn(90) turtle.forward(100) And so on. That initial experience has been one of the easiest to teach kids outside of a visual environment like Scratch. Some friends of mine have tried teaching Javascr…
> It includes a built-in Turtle graphics system and a decent IDE. You can teach loops and draw graphics in just a few lines of code: What! I've been looking for a nice easy to use turtle program for ages and it's been right in front of me the whole time! Thank you for this.
Re: Python is the new BASIC
#94Re: Python is the new BASIC
#95Earlier quoted context omitted.
And he didn't need to, any editor that mixes space indents with tabs is the wrong editor.
Untrue - start editing a file in a tabs editor, download a snippet from the internet that has spaces in it, and voila - you've screwed up your file. And this happens all the time to professional developers, much less 9-year-old beginners.
Re: Python is the new BASIC
#96Earlier quoted context omitted.
Python, fwiw, is a better BASIC. It includes a built-in Turtle graphics system and a decent IDE. You can teach loops and draw graphics in just a few lines of code: import turtle turtle.setup() turtle.forward(100) turtle.turn(90) turtle.forward(100) And so on. That initial experience has been one of the easiest to teach kids outside of a visual environment like Scratch. Some friends of mine have tried teaching Javascr…
> It includes a built-in Turtle graphics system and a decent IDE. You can teach loops and draw graphics in just a few lines of code: What! I've been looking for a nice easy to use turtle program for ages and it's been right in front of me the whole time! Thank you for this.
Re: Python is the new BASIC
#97Earlier quoted context omitted.
Probably the best point here by far. I didn't start learning to program because I wanted to program, I learned to program because I saw a file called GORILLA.BAS in one of the folders on my MS-DOS machine. Once I figured out I could open it in QBASIC and just press F5.... that was it... I would be a programmer for my next 20+ years and counting. EDIT: I would also like to point out how important the QBASIC IDE was as…
My experience almost exactly mirrors yours. When I was in grade school, there was a shared computer in the hallway outside the eighth-grade classroom, and if the teachers trusted you enough, you could stay in and use it instead of going outside for recess. A few buddies and I would congregate around the PC and play Gorillas. And once we figured out how to edit the source code and do weird things with gravity, or caus…
Re: Python is the new BASIC
#98As a Data Visualization enthusiast, I can say that Processing [0] is a great candidate for an introductory language to introduce programming (and computer science in general). It is a less verbose subset and superset of Java at the same time, has a solid IDE providing great visual feedback as the code changes and you can introduce real, physical world concepts through classes, polymorphism and what not in a way that…
Re: Python is the new BASIC
#99Earlier quoted context omitted.
It's really only "easy" if you are using mod_php. If you are using PHP-FPM, FastCGI, etc, as most people do who run production PHP, then things get about as complicated as using uWSGI, mod_wsgi, etc with Python. On that note though, getting mod_wsgi up and running with Apache is really quite simple.
You are absolutely right, strictly speaking it is the same thing. Getting a simple 'Hello World!' from the server though is a different thing but it is by no fault of Apache, Python is just not PHP when it comes to web development in the sense that you need this: def wsgi_app(environ, start_response): output = 'Hello World!' status = '200 OK' headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(outpu…
Re: Python is the new BASIC
#100Earlier quoted context omitted.
And he didn't need to, any editor that mixes space indents with tabs is the wrong editor.
Untrue - start editing a file in a tabs editor, download a snippet from the internet that has spaces in it, and voila - you've screwed up your file. And this happens all the time to professional developers, much less 9-year-old beginners.
With that the whole issue with tabs and spaces no longer exists.
BTW if you are copying snippets of code from website "as is" in any language you will have to reformat it to fit your structure. Also if you copy code so often that this is becoming an issue I'm not sure I would want someone like that working for me.