JavaScript Practice
View RSS feed

Latest Content:

Objects and Data Structures

Using getters and setters to access data on objects could be better than simply looking for a property on an object. Continue reading

Remove Duplicate Code

Do your absolute best to avoid duplicate code. Duplicate code is bad because it means that there's more than one place to alter something if you need to change some logic. Continue reading

Searchable Names in JavaScript

Names should be searchable. Tools like buddy.js and ESLint can help identify unnamed constants. Continue reading

Global Function Pollution

Names should be searchable. Tools like buddy.js and ESLint can help identify unnamed constants. Continue reading

Functions Should Do One Thing

This is by far the most important rule in software engineering. When functions do more than one thing, they are harder to compose, test, and reason about. Continue reading

Functional vs. Imperative

Discuss and show examples of the differences between functional and imperative programming. Continue reading

Encapsulation

Encapsulation is the process of hiding the internal implementation details of an object from the outside world. Continue reading

Avoiding Condtionals?

A talk about how to avoid conditionals in your code Continue reading