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
"The question of whether a computer can think is no more interesting than the question of whether a submarine can swim." - Edsger W. Dijkstra
Don't code today what you can't debug tomorrow
Friday afternoon? Ship it!
5 JavaScript interview questions What is Scope? What does the new keyword do? What are the falsy values in JavaScript? What is an IIFE, what is the use of it? What's the value of this in JavaScript?
4 Random coding tips Write useful comments Stay humble Don't be afraid to ask for help Keep practicing
Lines of code are only worth counting when you're deleting them
JavaScript's falsy values: - false - undefined - null - The number 0 - The number NaN - The empty string
"No one hates software more than software developers." - Jeff Atwood
"Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter." - Eric Raymond
Check for if (-1 == x) instead of if (x == -1) to avoid bugs like if(x = -1)
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
I've yet to see a UML diagram in a professional environment.
"Every program has (at least) two purposes: the one for which it was written, and another for which it wasn't." - Alan J. Perlis
"The only constructive theory connecting neuroscience and psychology will arise from the study of software." - Alan J. Perlis
There are no "simple" bugs.
"Program testing can be a very effective way to show the presence of bugs, but is hopelessly inadequate for showing their absence." - Edsger Dijkstra
If the code and the comments disagree, they are both probably wrong
Inside every complex program is a simple program trying to get out
In theory, theory and practice are the same. In practice, they're not.
"There are no significant bugs in our released software that any significant number of users want fixed." - Bill Gates