For all the self-taught geeks out there, here our content library with most of the learning materials we have produces throughout the years.
It makes sense to start learning by reading and watching videos about fundamentals and how things work.
Machine Learning Engineering (16 weeks)
Full-Stack Software Developer
Search from all Lessons
Curated list of small interactive and incremental exercises you can take to get better at any coding skill.
Curated section of projects to build while learning with simple instructions, videos, solutions and more.
Guides on different topics related to the technologies that we teach in our courses
Social & live learning
The most efficient way to learn: Join a cohort with classmates just like you, live streams, impromptu coding sessions, live tutorials with real experts, and stay motivated.
The title of this lesson should be "From Python to JS," because that’s the way history evolved. Python was born first and it’s way more mature. With Python you are capable of doing much more stuff because it’s a backend language and it has libraries and tools for anything you can think of.
On the other hand, Python is the fastest growing back-end language in the world. It is the most versatile and easy-to-code language with one of the strongest communities.
When you compare it to other back-end languages, Python is leading in almost every functionality it offers: Data Science, AI, API developments, Web Developments, etc.
Here are some of the reasons Python has come to this point:
|Python was meant to be simple and easy. Here is the Python manifest:|
Note: No more semicolons or curly brackets anymore, or declaring variables, or the confusing "this" functionality.
|Python is faster than Java, PHP, Ruby and 90% of the other backend languages. Only low level languages like C++ (hard to use) or very specialized like Node.js can beat it.|
Python scalability has been proven over and over with applications like Google Search Engine, Youtube, Google Apps, etc.
|Python is Google’s official language. It’s also one of the oldest languages with huge communities around each of its libraries\tools. MIT uses it to teach code. NASA to build rockets. Quora, Facebook, Yahoo, Amazon, etc. Almost every big company in the world has to use it!||Most of the Python libraries are the best at what they do: MathLab (for data processing), Pandas (big data), Web.py (web server), Django (web framework), PyBrain (AI), TensorFlow (Machine Learning), etc. We could be here all day! The most amazing thing is that these libraries are only one "pip install" away (just like when using NPM with JS).|
There are only a few differences; here is the explanation:
|Number||Python has the same "Number" data-type but it can accept more options than JS, like fractions (2/3) or complex numbers.|
|Undefined/Null is now: None||The undefined data-type is not available in Python. Here "undefined" and "null" are the same data-type: None.|
|Array||In Python, the Arrays are called "List" and they are similar to JS Arrays but way more flexible and easier to work with.|
Python, on the other hand, separates the Dictionary data-type form the Object data-type. Objects cannot be informally declared. You must first define their class before being able to instantiate them.
|String||Is the same in Python.|
In Python, you can make any folder a package by creating a _init_.py file inside of it. Then, you are able to import whatever you want into that folder without having to explicitly export anything.
📺 Here is a weird but amazing video explaining lambda functions: https://www.youtube.com/watch?v=25ovCm9jKfA
📺 Let’s summon Socratica again to understand sorting in Python: https://www.youtube.com/watch?v=QtwhlHP_tqc
There is now a way to do "switch"… but who cares? 🙂
Python brings a new kind of data-type called a "Tuple". Think about it like a super slim and fast performance List. But, like always, to increase performance we need to decrease functionality.
📺 This is a mandatory video explaining the difference between them: https://www.youtube.com/watch?v=NI26dqhs2Rk
📺 Socratica, our great evolved specimen & friend, explains Objects in a great way: https://www.youtube.com/watch?v=apACNr7DC_s