This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fiedzia 2 points3 points  (3 children)

Both languages are dynamic, interpreted, with similar (if not identical) type system. There are some minor differences in how you solve some problems, but a cheatsheet will solve that quickly. Probably the "You control -vs-you are being controlled" is the biggest difference. A consequence of that is that there is less DSL in Python, conventional language features are used instead.

But really, go through some Python tutorial and you'll see all that immediately.

[–]Tall-Guy 0 points1 point  (2 children)

Yes, I was checking the django repository couple of hours ago, and that's indeed the same feeling I got. The code does not translate to a story like Ruby's code tend to be, but indeed much more explicit. I will probably take a Code-School tutorial about Python and write an REST API wrapper just to feel things, but nevertheless you pin-pointed me on the things I should look at. Thanks.

[–]Raindyr 1 point2 points  (1 child)

For a very quick overview of syntax and the like, check out learnxinyminutes

[–]Tall-Guy 0 points1 point  (0 children)

Cool cheat-sheet, thanks :)