Your Coding Teacher
372 subscribers
10 links
Coding, software engineering & #bitcoin technologies. I'll make you a better thinker, not just a better developer | Ex
Amazon, Senior DevOps @eBay
Download Telegram
Basics of most programming languages * Variables * Data types * Conditionals (if - else) * Loops (for - while) * Functions * Arrays * Dictionaries * Classes and objects That's enough to build many interesting applications
Basic regex matches: - ^ -> beginning of string - $ -> end of string - \d -> digit - \D -> non-digit - x? -> optional - x* -> x any number of times - x+ -> x 1 or more times - x{n,m} -> x from n to m times - (a|b|c) -> either a, b or c
Does your definition of done include writing automated tests, at different levels, for both technical and non-technical requirements?
Python tip: Instead of -> if not a is b: Prefer -> if a is not b: Easier to read and understand.
"Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter." - Eric Raymond
JavaScript was developed by Brendan Eich in 1995 Javascript is often just-in-time compiled and is considered a core technology along HTML and CSS for web development. Javascript can be used both for front and backend development console.log("Hello World");
If there's a QA team in your company, set yourself the goal that they will not find any issues in your code.
"Sometimes it is the people no one can imagine anything of who do the things no one can imagine." - Alan Turing
"It makes no sense to try to do what we can. We must do what is necessary." - Winston Churchill
3 main replication methods a Single-leader - Write to leader which replicates them to the rest - Read from any node b Multi-leader c Leaderless: Quorum from nodes for reads (k nodes return same values) & writes (k nodes ack the write) Simplicity vs robustness
Some of the best coders I've met were Being a strong mathematician or a general relativity physicist really helps.
Python was designed by Guido van Rossum in 1991, named after Monty Python It is an interpreted, high-level and general-purpose language that emphasizes code readability. Used in: - Backend - Data science - Machine learning - Scripts print "Hello, world!"
In 1972, Donald Chamberlin and Raymond Boyce developed SQL at IBM SQL stands for Structured Query Language, and it was designed around querying databases SQL is widely used in database management today
The 8 fallacies of distributed computing: - The network is reliable - Latency is zero - Bandwidth is infinite - The network is secure - Topology doesn't change - There is one administrator - Transport cost is zero - The network is homogeneous
Design patterns in 1 tweet Visitor: adds new operations to a class without changing it Ex: Extending functionality of framework X, without touching its code. Framework X is a visitor of your extended framework, where it no longer is in control.
Practicality beats purity - The Zen of Python
Look around you, what problem you can solve and help somebody?
Be the catalyst for change
"Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it." - Alan J. Perlis
"The competent programmer is fully aware of the limited size of his own skull. He therefore approaches his task with full humility, and avoids clever tricks like the plague." - Edsger Dijkstra
In C++11 unordered_map provides hash tables for keys and values of any type (including custom classes).