It started as a question about what editor to use, and a desire to find a modern editor with code folding. But since then, the conversation has turned into a discussion on the realization that the “old” way we built large-scale software in .NET, Java and other “enterprise” languages, may not be so “old” after all.
I was all set to npm publish the next version of my Rabbus library. All my tests were passing, and everything was good to go. Then I decided to write just one more test… just in case. I mean, the code works fine. I don’t need to write this test. I know I don’t need […]
A WatchMeCode subscriber recently asked a question about error handlers with Node and Express. In his scenario, the subscriber wants to have a series of routers to handle requests to /api. Within these routes, he wants a generalized error handler that will return the error as a JSON document instead of rendering an HTML page […]
A WatchMeCode subscriber recently emailed a question regarding some code in my Variable Scope episode (part of the JS Fundamentals series). In her question, she points out some code from the episode, wondering if it is still considered an Immediately Invoking Function Expression (IIFE) or not. I watched the variable scope episode and you initially […]
At the Nodevember 2015 conference, I gave a talk titled “A Telegraph To The Future Of Web Apps”. This talk is very much the “why to” of human communication, messaging in software, and how software reflects the way we work together. The Nodevember conference had all of the talks recorded and there are a log of […]
ES6 generators provide a new way of working with data that should be iterated. In fact, generators produce an iterator when you initially call the generator function. One of the things that you can do with a generator, that might not be obvious, is iterate over a never-ending series of data items while still allowing […]
A question was asked in a conversation about ES6 recently, about the real use of the ES6 spread operator. This person wanted a slightly better explanation than they had seen previously, as they weren’t yet sure of where this new operator was really useful. There are several things that this new operator can do, but […]