Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
On writing JavaScript well.
Rating: 3.9 out of 5(11 ratings)
933 students

On writing JavaScript well.

The aesthetics of code.
Created byWes Higbee
Last updated 3/2015
English

What you'll learn

  • Identify and apply characteristics that lead to consistent, aesthetically pleasing code. Code that's a joy to be responsible for.
  • Learn trade offs and how to come to a consensus as a team about how to approach consistency.
  • You'll learn to improve the code you write yourself, and improve existing code, in a productive manner.
  • You'll start to see the impact of rewriting or refactoring code and how it can pay huge dividends without much effort.
  • Learn about tools that take the pain out of writing code well, so you can focus on what the code accomplishes.

Course content

8 sections81 lectures6h 36m total length
  • A or B?11:46

    Which code sample do you prefer, A or B? What would you prefer to maintain, support, change, read? This is a sample of some of the tradeoffs we'll consider throughout this course, and the format of that discussion.

    To follow along, check out the corresponding jsfiddle used in this lecture http://jsfiddle.net/Lsehtkw2/

  • The aesthetics of code6:04

    Aesthetics are subjective, this lecture discusses the essence of how aesthetics plays into code that's a pleasure to be responsible for.

  • Consistency matters3:36

    We may never agree on tabs or spaces, let alone many aspects of creating a healthy code base, but consistency is something we all agree upon and can strive for.

  • Format of course4:29

    This lecture covers the organization of the course and what to expect.

  • Getting access to code used in the videos throughout the course0:51

Requirements

  • This course assumes you have a basic understanding of JavaScript to the point that you can read and follow along with code examples.

Description

It's one thing to create code, it's another to create code that's aesthetically pleasing. And pleasing not just in visual appreciation but also the how the design of the code contributes toward the purpose of creating value for users. With thoughtful consideration, it's possible to decompose the notion of beauty, or good versus bad code, into a set of characteristics that can be used to evaluate alternative styles of code. Code itself is like art, it's subjective. With the right context and a mutual appreciation of consistency, you can create beautiful code.

Words can't describe what I can show, watch the free introduction (below) to understand more about what you'll take away from this course.

Who this course is for:

  • If you're interested in not just writing code, but writing code well, this course is for you.