"There are only two kinds of languages: the ones people complain about and the ones nobody uses." - Bjarne Stroustrup
In an interview, many junior engineers think they're being evaluated for their past experiences They're actually being evaluated for their future potential: - To be able to learn new things - To execute and move things forward - To behave like a leader
Python allows else blocks to follow for and while loop interior blocks found_obj = None for obj in objects: if obj.key == search_key: found_obj = obj break else: print('Not found.') The else block only runs if the loop body did not hit a break
Docker - Creates a self-contained space for apps to run - Increases portability: no more "it worked on my machine" - Promotes the usage of microservices - dockerHub -> ~ Github for docker images - To orchestrate multiple containers, use Kubernetes or Docker Swarm
Writing stuff down on paper will allow your brain to focus on the logic.
Objective C was invented by Brad Cox and Tom love in 1983 It was the main language for Mac OS and iOS until the Swift appeared in 2014 It's possible to compile C programs with an Objective-C compiler and to include C code in an Objective-C class NSLog(@"Hello, World!");
Theory is when you know something, but it doesn't work Practice is when something works, but you don't know why Programmers combine theory and practice Nothing works and they don't know why
CIA Triad - Confidentiality: only authorized users can access the data - Integrity: to prevent unauthorized modifications of data - Availability: to ensure authorized users can access resources when they need them The Pillars of Information Security
Test Driven Development in 1 tweet 1. Write a test that fails. Not compiling is failing 2. Write the minimum amount of code that makes the test pass 3. Refactor (code and tests) or go back to 1 as necessary
"My definition of an expert in any field is a person who knows enough about what's really going on to be scared." P. J. Plauger
In the face of ambiguity, refuse the temptation to guess - The Zen of Python
The only way to get good, just like with anything else, is to practice.
Basic OOP modelling: - Inheritance: "is-a" relationship. What applies to parent classes also applies to derived classes - Composition: "has-a" relationship. A "car" "is-not-a" a "steering wheel" A "car" "has-a" "steering wheel"
Tons of - The BEST Programming Languages To Learn In 2021 (#1 WILL SHOCK YOU) - Top Programming Languages in 2021 - How to get a job without a CS degree in 2021 videos flooding Youtube soon... Many views will come from the same people who watched the 2020 version
Synchronous programming (aka Blocking): statements are executed sequentially, in order, one at a time. Asynchronous programming (aka Non-blocking) allows you to run multiple statements simultaneously.
"Perl – The only language that looks the same before and after RSA encryption." - Keith Bostic
2 ways of creating functions in JavaScript const f = function(x) { return 2*x;} function g(x) { return 2*x;} The difference is that you can use g before it is defined (reading the code from top to bottom), while you cannot use f before it is defined.