Upcoming Courses in JavaScript: Vote with Your Comments

During the past year I have released what I perceive are the two most time consuming courses to develop: Learn Modern JavaScript: Getting Started and Learn Modern JavaScript: Advanced Topics.

Since the release of the Advanced Topics course I have been hard at work on adding a section to that course on functional programming concepts as well as a new course on regular expressions. And now I have begun to think about what courses should come next, and I would like your input. Here are a list of some of the courses sitting in the wings. (You can get a full list of upcoming topics here.)

  • Full course on functional programming concepts in JavaScript. Functional programming is the talk of the town in JavaScript. And it is important to know these topics.
  • Asynchronous Coding. This course is an important piece in the Learn Modern JavaScript series. These are critical topics that need to be tackled.
  • Using Node and Express. I have stayed away from node in my JavaScript courses because I think it is important to learn JavaScript on the browser side. I feel I need to add this course in order to fill in the knowledge of how JavaScript can be used.
  • jQuery. Yes, jQuery is not the darling child anymore, but it is still used extensively, so it is important to know how to use it effectively.
  • JavaScript Frameworks and Libraries. There are numerous topics here, but those that seem to drift to the top are Vue, React and Angular.

So which topics are most important to you? Let me know in the comments sections.

Functional JavaScript: Some People Love it

For the past six months or so I have been on a journey of discovering functional programming in JavaScript. When I first started, I could understand very little of the terminology or the concepts. It all seemed very foreign to me. But I persisted.

I now feel like I get it. I understand the power behind the paradigm. I understand the concepts. And…I must admit that I like it.

One thing I have noticed as I have read different articles and books on functional programming in JavaScript, is that people that are in to it are really in to it! They love it! Here is an example of one article I found recently. It is an interesting read and helps point out some of the positives of functional JavaScript. But you also lear how the author feels about functional programming.

How I rediscovered my love for JavaScript after throwing 90% of it in the trash

Reading this article caused me to ask a question: Do those that love  functional JavaScript love it because they get it? I really wonder. Help me out here. If you understand the ins and outs of functional programming in JavaScript but would rather use another paradigm like OOP, comment below. I would love to hear about it and why.

Performing a Case-Insensitive Sort on an Array of Strings

I recently released a tutorial on the All Things JavaScript YouTube channel that dealt with higher order functions. Within the tutorial I used an example that dealt with forcing the sort method of Arrays to do a true alphabetic sort. By itself, sort does not do this.

Here is the problem with sort. Lets say I have an array of strings like this:

let things = [‘Building’, ‘Car’, ‘house’, ‘tree’, ‘bicycle’, ‘automobile’];

It will not sort correctly if I use:

things.sort();

The reason is that I have a mixture of upper and lowercase characters. The uppercase characters will sort first and we end up with this.

‘Building’, ‘Car’, ‘automobile’, ‘bicycle’, ‘house’, ‘tree’

The solution is pretty simple; we just need to sort with the correct case. However, executing on that solution is not quite as simple. There are a number of different ways to do this. In the tutorial I chose to take advantage of a little known feature of sort; you can pass in a function to the sort method that can be used to determine the sort order. That makes sort a higher order function, and that was the reason I was using it as an example in the tutorial.

The end result is kind of cool.

If you would like to understand higher order function better or you are interested in the sort solution, take a look at this tutorial.