Hacker News new | ask | show | jobs
by mddw 4849 days ago
These learning websites never work for me. I know starting with basics (operations, variables, string manipulation) is the sensible thing to do, but they bore me. I always find easier (well, harder but more engaging) to read real code running a real simple application and trying to figure it out by breaking it. (it's not a critic of learning sites or this one in particular. It's just they don't speak to me.)
4 comments

For those who already know programming in another language, then your way is SoP. Either that or just read the spec.

Pretty sure sites like these are aimed more at complete beginners.

In my case, I've been working through the problems at Project Euler, specifically solving the problems in python as a means to learn. http://projecteuler.net/

One of the cool things is that after you solve a problem you can review how others attacked the problem (people use almost any language you can think of), and seek continual improvements for greater efficiency. Python is a popular choice there.

I got in the zone and learned Python, Javascript, HTML, CSS, jQuery and a few APIs in a single weekend on codecademy. The secret is large amounts of caffeine.
The APIs are a super nice touch. Running through tutorials can get really monotonous but the API stuff gave me a burst of excitement to play with the software I use every day.
Could you recommend some simple applications like you describe?

I'm learning python but find most tutorials boring. Your method sounds interesting.

I just recently (a month or so ago) watched and did the exercises in the Google Python Class. That was my first introduction to Python and I stayed interested because the exercises were a bit of a challenge instead of the same old boring crap you see everywhere.

About two weeks ago, I wrote a somewhat complex application to "scratch an itch" at work and have since started in with Django.

I'd recommend the Google class (it's on Youtube).

Seconded! Especially for web apps. I'm trying to learn how to implement something with a GUI, and struggling to move beyond the basics.
A desktop GUI in Python? Or a GUI in a web app? If you mean the former, have you tried wxPython? It comes with a huge interactive library of samples, where you can see the code and the resulting interface just by switching tabs.
There are so many languages that it can be real hard for beginners to decide what to do. I use Ubuntu and ChromeOS. Ubuntu recommends Python and GTK whereas, if I am not wrong, ChromeOS extension and webapps are primarily written in Javascript. I am learning programming currently using Codecademy HTML and CSS tutorials and have to decide what to do next. In order to keep myself focused I want to write a clipboard app. I am not sure what to choose Python or JavaScript.
The latter. I'll check that out, thanks.

I built a basic app with web.py that I'm trying to make pretty. I'm thinking I'll need to add some CSS, but I just have no idea where to start.

Have you seen the Python GTK+ 3 Tutorial[0]? I'm still pretty new to Python and it was a tremendous help.

[0]: http://python-gtk-3-tutorial.readthedocs.org/en/latest/

edit: Sorry, must've missed "web apps" when I first read your comment. The Django overview and tutorial were helpful to me as well.

See if any of these work for you:

https://www.google.com/search?q=flask+tutorial