Skip to main content

Christian Heilmann

Member since Oct 26, 2012

Recent Blog Comments By Christian Heilmann

  • Var For Life - Why Let And Const Don't Interest Me In JavaScript

    Posted on Nov 12, 2015 at 9:58 AM

    @Ben, there very much is. There is too much "this is the better way to write JS!" without considering just how much difference there is between server and client side.... read more »

  • Var For Life - Why Let And Const Don't Interest Me In JavaScript

    Posted on Nov 12, 2015 at 9:20 AM

    The main reason why let and const are useful is to use up less memory. If the JS engine knows something will not change it can allocate the least amount of memory and use cached values. With a var things can change all the time. I do agree with you though that for a lot of our code this can feel lik... read more »

  • Understanding CSS Transitions And Class Timing

    Posted on Mar 19, 2013 at 8:37 PM

    I don't quite get what the issue here is. If you want to wait until the transition is over before you change something, why not subscribe to the transitionend event? Each CSS transition can be reacted to with JS - no need for any jQuery or timeout hacks. I might read this wrong though.... read more »

  • Are HTML FORM Tags Required To Display Form Input Controls?

    Posted on Oct 26, 2012 at 6:29 PM

    Another classic case of "HTML5 parser is very forgiving as people built shit in the past, this should not encourage you though to write shit now". A form that doesn't work without JS to me still is a very arrogant and error prone idea. Yes, nobody turns off JS, but one of your scripts no... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel