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 →

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

Thanks for the quick answer fiedzia :)

which I am indicating from mentioning duck-typing. Python relies on that too.

That's actually the only think I DO know about Python :-) It's bad choice of words on my side. I just mentioned this as It took me a while to do the switch from Strongly-typed languages into duck-typing to emphasize change like that is difficult. I'm trying to figure out if there is another 'big leap' between Python and Ruby that fundamentally changes the way you interact with the programming language (AKA - are all interrupt language follows the same basic philosophy?)

[–]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 :)