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
Design patterns in 1 tweet Decorator: Add responsabilities to objects dynamically Ex: in a war videogame, adding accesories to a basic weapon (can be added after creating it)
"Owning a computer without programming is like having a kitchen and using only the microwave oven." - Charles Petzold
Scala was developed by Martin o darsky in 2003 combining functional and object-oriented programming Many its design decisions are aimed to address criticisms of Java object Hello { def main(args: Array[String]) = { println("Hello, world") } }
3 Random coding tips Pay off technical debt Prioritize tasks Don't overlook the details
Big O quick tip Try to remember this pattern: A problem where the number of elements in the problem space gets halved "at each step", will most likely have O(logN) time complexity
"A computer would deserve to be called intelligent if it could deceive a human into believing that it was human."" - Alan Turing
Namespaces are one honking great idea -- let's do more of those! - The Zen of Python
In 2009 Google created Go, also known as Golang to help fix problems that are common at Google where languages like Java and C++ would fall short. Its syntax is similar to C import "fmt" func main() { fmt.Println("hello world") }
Files and processes are the two basic blocs of the UNIX system. In UNIX, everything is a file. Filename are restricted to 255 characters. A process represents a program (a file) in execution.
Hardware is the part of a system you can kick Software is the one you can only curse at
Don't go blind. Use a profiler. "Premature optimization is the root of all evil" - Donald Knuth
"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