Your Coding Teacher
Ir al canal en Telegram
Coding, software engineering & #bitcoin technologies. I'll make you a better thinker, not just a better developer | Ex Amazon, Senior DevOps @eBay
Mostrar másEl país no está especificadoTecnologías y Aplicaciones98 126
334
Suscriptores
Sin datos24 horas
Sin datos7 días
Sin datos30 días
Archivo de publicaciones
"It goes against the grain of modern education to teach children to program. What fun is there in making plans, acquiring discipline in organizing thoughts, devoting attention to detail and learning to be self-critical?" - Alan J. Perlis
I just wasted a week trying to catch a bug that didn't exist. The bug was in the doc of one of the dependencies. It stated the a name convention was invalid. It turns out, it was valid. I'm all for comments and doc, but always verify your assumptions. Bugs in comments are real.
Qualities of a good software developer: - Impact - Initiative - Efficient information handling - Inventive
Design patterns in 1 tweet Mediator: simplifies communication between classes Ex: Imagine an air traffic controller. All planes communicate with it and receive coordinated instructions from the traffic controller, instead of talking to one another.
Teaching others what you learn is one of the best ways to reinforce what you already know.
GCP discounts - Sustained Use Discounts: The longer you use your virtual machines (and Cloud SQL instances), the higher the discount–up to 30% - Committed Use Discounts: Up to 57% discount if you commit to a certain amount of CPU and RAM resources for a period of 1 to 3 years
Keyword arguments in Python: - Clarify the purpose of each argument - Can have default values - Make it easy to extend an existing function Example: def fullName(surname, lastName): ... fullName(surname='Bob', lastName='Smith')
3 JavaScript interview questions What are Classes? What are ES6 Modules? What's the difference between undefined and null?
When a process terminates, all of its open files are closed automatically by the kernel. However, If your application is working with files, remember to close() them.
Software is about working applications Methodologies, languages, operating systems, frameworks, etc. are secondary
Stacks are simple data structures that maintain a LIFO, last-in first-out, ordering. Queues are simple data structures that maintain a FIFO, first-in first-out, ordering. Can you build a queue using 2 stacks?
Caches - Based on locality: If X was used before, it's likely to be used again - Are smaller but faster to access than RAM - If info is in cache (hit), retrieved faster - If not in cache (miss), RAM needs to be queried - OS can't control what goes into the cache
5 Random coding tips Plan out your approach RTFM - Read The F* Manual Delete unused code Take responsibility for your mistakes Name variables and functions appropriately
7 Common array interview questions 1. Binary search & variants 2. Rotate an image by 90 degrees 3. Dutch national flag 4. Merge two sorted arrays 5. Find missing element 6. Print a matrix in spiral form 7. Kadane's sum algorithm Try to solve them (easily googable)
Design patterns in 1 tweet Strategy: Encapsulate an algorithm in a class, using interfaces Ex: Class to shuffle cards that contains a shuffleStrategy object. This object can be changed at runtime to change the shuffling method.
MATLAB (MATrix LABoratory) was created in 1978 by Cleve Moler MATLAB is both a programming language and a development environment, widely used in many industries: - Automotive - Aerospace - Finance - Telecommunications - Machine learning and AI disp('Hello, world!')
Interview tips: - There are factors outside your control. Keep applying - Be friendly. The interviewers will be working with you if you get hired. - Get a referral - Prepare. Both for tech and behavioural questions - Code fast. Follow-ups are opportunities for you
