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
Use pen and paper or a whiteboard to sketch a solution before you start coding. Unless you are solving a trivial problem, try to come up with different alternatives. Then, try to break your own design
Student: How long will it take me to master your martial art? Teacher: Ten years Student: But I want to master it faster than that. I will work very hard. I will practice everyday, ten or more hours a day if I have to. How long will it take then? Teacher: 20 years
The days are long but the decades are short.
Code doesn't live in the vacuum
You'll spend most of your time reading code. Python's syntax makes it easy to write complicated, difficult-to-read, single-line expressions. Consider refactoring them into their own separate functions. Make your code readable.
Relational Databases Available in AWS: - SQL Server - Oracle - MySQL Server - PostgreSQL - Aurora (proprietary) - MariaDB Which one is your favourite?
When learning to code, remember that having big goals is great, but Having a big goal != Having the "I'm going to do this for as long as it takes" mentality Consistency beats everything else, every time. Think long term
When presented with an unreasonable deadline, what is the actual consequence of saying "no," versus the imagined one?
It takes an intelligent person to build something complex It takes a genius to build something simple
Heapsort is a comparison-based sorting algorithm, developed by J. W. J. Williams in 1964 It's based on a heap data structure 1. Build a heap from the unsorted list - O(N) 2. While the heap has elements, extract its top element - O(1) extraction + O(LogN) to update the heap
At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly agilemanifesto .org
Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale agilemanifesto .org
"Give a man a program, frustrate him for a day. Teach a man to program, frustrate him for a lifetime." - Muhammad Waseem
I � Unicode
"I'm not a great programmer; I'm just a good programmer with great habits." - Kent Beck
Resources in GCP follow a hierarchy: - Permissions are inherited. Ex: permissions granted and the org level are propagated to all folders and projects. - More permissive parent policies always overrule more restrictive child policies. To common aspects of your resources
Grep 101 grep -param string/regex file(s) -i case insensitive (potentially slow) -v string *not* present -w find full word -A/B/C N; display N lines after/before/around the match -r recursively in directory -c get number of matches -n line number of match
When you're assigned a task, repeat it back in your own words to make sure you understood it. And to let everyone know you understood what they want. This includes potential issues that may arise.
3 JavaScript interview questions How to check if a certain property exists in an object? How to check if a value is falsy? What's the difference between Object.seal and Object.freeze methods?
Friday afternoon? Ship it!