ar
Feedback

لا تقع ضحية للمخادعين! تيليمتريو يكتشف ويُميّز هذه القنوات 👉 إذا كنت تريد رؤية العلامة، اشترك

Your Coding Teacher

Your Coding Teacher

الذهاب إلى القناة على Telegram

Coding, software engineering & #bitcoin technologies. I'll make you a better thinker, not just a better developer | Ex Amazon, Senior DevOps @eBay

إظهار المزيد
334
المشتركون
لا توجد بيانات24 ساعات
لا توجد بيانات7 أيام
لا توجد بيانات30 أيام
أرشيف المشاركات
Design patterns in 1 tweet Adapter: Match interfaces of different classes Ex: a charger that can connect to a power plug in India (interface 1) will need a power adapter to connect to power plugs in the UK (interface 2). The charger (class) does not need to modification

"Your obligation is that of active participation. You should not act as knowledge-absorbing sponges, but as whetstones on which we can all sharpen our wits" - Edsger W. Dijkstra

"In man-machine symbiosis, it is man who must adjust. The machines can't." - Alan J. Perlis

C Program to count elements. Can you find the bug? for (i=0; i

Google Cloud encrypts data both: - At rest (data stored on disk) and - In transit (data traveling in the network) using AES implemented via Boring SSL.

IAM in GCP & AWS: - Service account~IAM role & instance profile - User identity: managed outside VS inside IAM - Policy: list of bindings (members to a role) VS list of permissions in JSON - (Predefined) Set of permissions: (Predefined) Role ~ (Managed) Policy

Design patterns in 1 tweet Builder. Separates object creation from its representation Ex: Have the flexibility to build them like this (Java) Meal m = new MealBuilder.setMainCourse(mainCourse).setDrink(drink).setX()... .build(); Instead of a cascade of constructors

Small-talk was developed in 1972 by Alan Kay, Adelle Goldberg and Dan Ingalls at Xerox Smalltalk was the first language to popularize object-oriented programming (Simula 67 was the first language to introduce OOP concepts). 'Hello World!' printNl !

Procedural programming is a programming paradigm, based on the concept of the procedure calls: a type of routine that contains a series of steps to be carried out Some procedural programming languages include Fortran, ALGOL, COBOL, BASIC, Pascal, C and Java

Problems that start with: "find" - The first n elements that - All ways to - In how many ways - The n-th - The most optimal way - The minimum/maximum/shortest path Are potential candidates for a dynamic programming solution

One-liner to copy a string in C: while ((*s++ = *t++) != '\0');

- "It works on my machine" + "Let's ship your machine!"

Difference between mutex and semaphore - Mutexes only provide mutual exclusion (only 1 thread access the critical section) - Semaphores are signaling mechanisms (for example, to signal that something is complete) Binary semaphores can be used as mutexes (but not viceversa)

Is your program stuck in an infinite loop or just taking long? This is called the halting problem. Alan Turing proved that a general algorithm to solve the halting problem for *all possible program-input pairs* cannot exist.

It's never been easier to learn to code, with so many resources available to learn from.

It is often easier to not do something dumb than it is to do something smart

By no means will you be an expert after finishing a tutorial. The only way to really learn is by practicing. You are going to learn infinitely more by doing than by reading or watching.

People just want to see tasks done. Don't bore them with the low-level details. Use higher levels of abstraction in your conversation with them. And move things forward.

Check for if (-1 == x) instead of if (x == -1) to avoid bugs like if(x = -1)

Good programmer != good mentor. YMMV.