Pages

Thursday, August 14, 2014

Why Codecademy is cool

I recently finished the Python course on Codecademy and I'm thinking on how to say thank you for it to them. Not just because the site is great and I already found the next course (as a back-end developer I need to practice front-end things at home to not be a specialist of one thing) to continue, but by their approach to letting me to learn python on very entertaining and easy to understand way. I see how much effort invested into the site just to provide free material and how professionally designed the page and the learning flow. The Pythong material is well structured and introducing step-by-step from the basics to the real pythonic things. And you get a chance to write a game during the course!
What I liked in the Python lessons as a notorious Java developer?


  • The for-each loops. Especially when I can add an enumeration to track the index. In java if you need you had to avoid for-each and use regular index based for.
  • Else case at the end of the loops. That's a brilliant idea to separate the implementation for the successfully finished looping or the cancelled ones.
  • The in keyword. Python has a more generic approach to check the existance of an item in a collection/dictionary/array/etc..
  • List comprehensions. I love to populate data in a readable, one-liner format

I think I have a basic knowledge about some of the language elements (first steps :) ) and I need to move forward the more complex topics. Not only on language level, but I'd like to see Python as platform to deliver a complete solution to a problem. I already bookmarked some Youtube videos about the advanced topics, but I hope I can find some blogs or tutorials about how to start a Python project and end up with a successful delivery.

Wednesday, August 13, 2014

Beware of outdated books

I'm really amazed when I found on Amazon a very old book from Martin Fowler: Patterns of Enterprise Application Architecture. I have this book and I rechecked my assumptions and found this book is badly outdated. I mean most of their suggestions and patterns are already implemented in several frameworks (spring, spring-mvc, hibernate/jpa, etc..), the current architectural solutions are stepped over on it, but the price is still high. Maybe they keeping them for the collectors or multi-millionare developer veterans :) 
Currently the IT sector is growing quickly and lot of newbies are arriving to train themself to the next Peter Norton (Is anyone knowing him? :) ), Larry Page (better known) or Guido van Rossum. Thanks to the internet, voluntarism and the open source community we can learn almost everything for free, but some of us need to buy some paper books to erect a statue of our learning efforts.
I don't really know what should Amazon do with these books, but it alerts me to read all reviews carefully even if it written by trendy/famous authors to avoid traps like this.