DEV Community

Discussion on: How to Write JavaScript When You Don’t Know Where to Begin

Collapse
 
canderson93 profile image
Carl Anderson

Interesting idea to write unit tests.

A big part of what I'm recommending in this article is clarifying your ideas, and unit tests are definitely a good way of doing that. Defining what your code is supposed to input and output is a big part of working out how you're going to approach it.

Taking on a programming language is one hell of a challenge :) One of my professors at university was working on the whiley language, and he maintains a blog about some of the issues he hit. It might be of interest to you.