I have accepted an offer to join The Practical Dev as an apprentice software developer.
I thought I’d post a short update about why I haven’t been blogging as much.
So I have finished The Web Developer Bootcamp and the final project, YelpCamp, a full-stack Yelp clone built with Node, Express, Mongo, Mongoose, Passport.js, and Bootstrap.
Okay, so not really a love story, but a good one nevertheless.
ES6 modules allows us to have reusable code, in separate files. We do this to eliminate initially massive js files, like app.js in a Node and Express project. Modules allow us to spread code over relevant files.
While perusing The Practical Dev for new posts, I came across a post that intrigued me: Instant +100% command line productivity boost. Productivity for devs is something I’ve been meaning to write about. Now I have the impetus to do so.
I was doing a little GitHub dumpster diving, scrolling through who I was following. Found a guy who I really wanted to keep an eye on who hadn’t posted in a while. I went through his repos and found a personal goals repo. It was a fork. I went directly to the source and found it was Una Kravets repo.
Map is another higher order function that goes through an array and doesn’t discard it but instead transforms/mutates it. Here, I’d like to get an array of all the names of the animals.
When working with multiple levels of conditionals, it helps to DRY things up a bit: not repeating yourself can give performance gains as well as make your code more readable and elegant.