ponyfoo.com

Your query for articles tagged “best-practices” yielded some results!

  1. Let’s use const! Here’s why.

    When reading a piece of code, others can take cues from these signals in order to better understand what we did. ES6 offers let and const as new flavors of variable declaration, are they better signals than var?

    Read full article
    10 minute read
  2. Template Literals are Strictly Better Strings

    This article explores how template literals are strictly better than strings, and how they too should become the new default of a post-ES6 era – over single and double quoted strings.

    Read full article
    14 minute read
  3. JavaScript Quality Guide

    I’ve recently created a JavaScript Quality Guide, and I wanted to share it on Pony Foo as well. The latest version can be found on GitHub. As

    Read full article
    25 minute read
  4. CSS: The Good Parts

    I’ve decided to pour my thoughts of how the CSS of an application should be modelled into a formal style guide. I’ve been using this approach for over a …

    Read full article
    18 minute read
  5. How to Design Great Programs

    This article is a recollection of common-sense application design practices I usually follow when building things. I felt like grouping them together in a blog post, for …

    Read full article
    12 minute read
  6. Where does this keyword come from?

    Working on the latest chapter for my upcoming book on JavaScript Application Design, I’m writing about how scoping works. I want to share a particular code sample …

    Read full article
    6 minute read
  7. The Angular Way

    For the past few months I’ve been sailing around the world of Angular. Today I can hardly imagine myself doing day to day coding on a large front-end web …

    Read full article
    12 minute read
  8. Getting Over jQuery

    We’ve looked at doing some of the things that you can do in native code. So far, we’ve covered AJAX, event handling, event delegation, DOM querying, and …

    Read full article
    22 minute read
  9. Uncovering the Native DOM API

    JavaScript libraries such as jQuery serve a great purpose in enabling and normalizing cross-browser behaviors of the DOM in such a way that it’s possible to use …

    Read full article
    15 minute read
  10. Understanding Build Processes

    A task runner helps you automate everything you need to get an environment functional. Configure, build, run tests, and execute your web server. But there’s more …

    Read full article
    9 minute read
  11. Taming Asynchronous JavaScript

    Last month, a series of very interesting articles regarding async coding style, in Node, popped up. The discussion spanned a few more subjects than just coding style, it …

    Read full article
    6 minute read
  12. Pragmatic Unit Testing in JavaScript

    More often than not, companies completely (and irresponsibly) disregard JavaScript as code that should be unit tested. They might test their back-end code, it may be in …

    Read full article
    9 minute read
  13. Information Hiding in JavaScript

    Even though it’s tricky at first, if you are used to classical object-oriented languages, it’s easy (and highly encouraged) to perform information hiding

    Read full article
    9 minute read