JC Fant IV
About
JC Fant IV is a Software Engineer at Amazon.com. He has been working as a Web Developer for the last 10 years. Currently he is diving into performance and other technologies around JavaScript.
Current Projects
Currently I am working on test for JSPerf and what it means for Javascript in General. Many things we think we know to be true, may in the end be incorrect. Do this, not that!
Topics
- Closure (1)
- Compilers (1)
- CSSLint (1)
- Debugging (1)
- Do This, Not That (4)
- JavaScript (12)
- jQuery (7)
- Performance (4)
- Underscore.JS (3)
Tags
-
Category Archives: Do This, Not That
Getting A Class From a DOM Element
Lately, if I am searching for a way to do something in Javascript the only results I am getting ways of doing the procedure using jQuery. While, its true jQuery is pretty much the de facto standard for writing JavaScript anymore, understanding the underlying technology is a must. As well as alot of times, I [...]
Patterns for enforcing “new”
Recently I was looking around for a book on JavaScript Patterns. I decided to give the JavaScript Patterns by Stoyan Stefanov a try. If you have been looking for a book on Javascript Patterns, I highly recommend this book. In the 3rd chapter, Literals and Constructors, I noticed this section on "Patterns for enforcing new" [...]
$(“#ID”) is fast enough
We all know that the fastest selector to use is the ID. Something like $("#id") is better than using a class. However, after looking at the last test we did on The Great Assumption - JavaScript I noticed a large discrepancy in $("#ID") versus the native document.getElementById(). Now, I always assumed it was slower, but [...]
The Great Assumption – Javascript
A couple of weeks ago I was sitting down with a Google Frontend Engineer friend of mine, talking about some of the JavaScript best practices we all have come to know and abide by. I found myself in agreement with 90% of everything we were talking about. However, something kept eating at me. Why do [...]