Monthly Archives: March 2015

HTTP2 for front-end web developers

HTTP2 is based on Google’s SPDY and will change the way you minify and bundle assets

 

​HTTP2 will mean a change in how we should build websites. The best practices of HTTP1 are harmful in a HTTP2 world.

Remember the (hacky) practices below? Well with HTTP2 they are obsolete and even detrimental to performance.

– Image sprites

– Concatenating JS and CSS

– Serving assets from a cookie-less domain.

– Creating different domains or sub-domains to host assets like images.

Read more from the source: mattwilcox.net

Rubber Duck Problem Solving: “Ask the Duck” is a very powerful problem solving technique

I explained Rubber Duck Programming to some coworkers and loved Jeff Atwood’s article on the subject

 

Jeff Atwood of Coding Horror writes:

I love this particular story because it makes it crystal clear how the critical part of rubber duck problem solving is to totally commit to asking a thorough, detailed question of this imaginary person or inanimate object. Yes, even if you end up throwing the question away because you eventually realize that you made some dumb mistake. The effort of walking an imaginary someone through your problem, step by step and in some detail, is what will often lead you to your answer. If you aren’t willing to put the effort into fully explaining the problem and how you’ve attacked it, you can’t reap the benefits of thinking deeply about your own problem before you ask others to.

Read more from the source: blog.codinghorror.com