The Zen of Life

--Originally published at Code With Charlie

Tim Peters proclaimed 12 years ago the next 19 “Statements” and with the time those statements became rules or guides to follow if you want to become a successful programmer. In this post I will explain each Statement with examples.

  1. Beautiful is better than ugly(obviously).Screenshot 2016-08-20 22.38.18
  2. Explicit is better than implicit.
  3. Simple is better than complex.
  4. Complex is better than complicated.
  5. Flat is better than nested.
  6. Sparse is better than dense.
  7. Readability counts.
  8. Special cases aren't special enough to break the rules.
  9. Although practicality beats purity.
  10. Errors should never pass silently.
  11. Unless explicitly silenced.
  12. In the face of ambiguity, refuse the temptation to guess.
  13. There should be one-- and preferably only one --obvious way to do it.
  14. Although that way may not be obvious at first unless you're Dutch.
  15. Now is better than never.
  16. Although never is often better than *right* now.
  17. If the implementation is hard to explain, it's a bad idea.
  18. If the implementation is easy to explain, it may be a good idea.
  19. Namespaces are one honking great idea -- let's do more of those!

The first step to become a successful Programmer (for MacOsx)

--Originally published at Code With Charlie

Just like Loazi said “A journey of a thousand miles begins with a single step.” and the first step of this Journey is installing the programming environment in our computer, the programming environment is the program in charge of the translation between the language we are programing in, to the computer language (in the end binary), after installing it, the computer will understand what our program is intended to do and will execute it. The result will be AWESOME.

Lets begin with the installation:

  1. Go to the python web page and choose the downloads section (https://www.python.org/downloads/)
  2. We are gonna work with python 3.x.x so choose the newest.
  3. After the download finished, install and accept every condition.
  4. Your computer is ready to “Understand Python” (the programs this download installed doesn’t have any utility for us).
  5. To confirm everything went good its time to test it in our terminal so open your terminal and write python3 in your bash and you should receive this confirmation message Captura de pantalla 2016-08-18 23.48.09

If you got that message, you are good to go, you just walk your first step in the journey of the Programming.

Good Luck

Code With Charlie is Alive!!!

--Originally published at Code With Charlie

This page has one objective. To help You All to learn how to program and have fun at the same time, I want to break all those paradigms of how hard is to program and approach the programming in a different way, a fun and entertaining way.

Our system is based in several small programming activities to learn subject by subject and after mastering a number of subjects we are gonna do a complex activity to learn how to put all the little subjects together to solve or satisfy a real world problem or need.

#TC101 #ITESM