Tag page
development
Page 5 of 5
Tag archive
Posts
Page 5 of 5
- Equals vs equals
In JavaScript not all comparisons are created equal... see what I did there. Let’s say we’re comparing two values like this: The use of “==“…
- Zombie code
Part of developing (and certainly learning to develop) is creating code, commenting it out, and creating a better version. As you get into a…
- Keep your friends close and your variables closer
Back in the day, I used to have this habit of declaring all of my variables at the top of the file. My thinking at the time was it would keep…
- How to function correctly
Coding is a fairly amazing thing to be able to do. There are effectively no limits to what can be done when you’re more or less writing the…
- Simplify conditional statements
Consider the following code: Looks good right? It’s logical and easy to understand, just your standard if statement. All true, but over the…
- Avoid abbreviating variables
Do you know what's super annoying when reading someone else code? Abbreviated variable or function names. Until late 2017 I hadn't done any…