Tagged “programming”
-
TIL Indirection and Swallowing the error programming utilities
Op shared a tryCatch util that is problematic.
-
TIL reusing variables programming ruleofthumb
Do not reuse variables. Do not double define variables that represent the same thing.
-
TIL about semaphores javascript advanced programming
A semaphore limits access to a resource to some number of consumers. Any new requests for the resource will get stalled until later, eventually to be handled.
-
TIL ELI5 for Dependency Injection programming eli5
In a nutshell, what it means is that any given piece of code you write should be provided everything it needs to do its job, instead of creating things for itself.
-
TIL about Debouncing/throttling programming eli5
Debouncing and throttling are too common techniques for dealing with things that happen 'too often', like typing.
-
TIL of a nice ELI5 of code splitting programming webpack eli5
Code splitting is the splitting of code into various bundles or components which can then be loaded on demand or in parallel
-
TIL the Bus Factor programming idioms
The bus factor of a project is the number equal to the number of team members who, if run over by a bus, would put the project in jeopardy. If a project overly relies on the contributions or knowledge of one person, then you could say that the project’s bus factor is one.
-
TIL Rule of Three in Refactoring programming
Follow the Rule of Three. It makes it easier to find correct abstractions. Ignore the first. Duplicate the second. Refactor when you see it a third time.
-
TIL a fancy word for auto-generating objects, A Factory Function programming patterns
So a factory function creates objects. That's all.
-
TIL Declarative Vs Imperative Programming Paradigms programming paradigms
Declarative Programming is like asking your friend to fix your car. You don’t care how to fix it, that’s up to her. Imperative Programming is like your friend calling your father that tells her how to fix your car step by step.
-
TIL when to use SOLID in 2021 programming solid
SOLID is an acronym for 5 principles. But they were made when dinosaurs roam the earth.
-
TIL Bob who hired chinese developers to fix programming
Bob had hired a consulting firm in China, sent the consultants the work assigned to him, and then got out of the way, collecting paychecks the whole time
-
TIL Redefining the environment, not the function itself programming
I think we all can agree that something smells with this code.
See all tags.