274. Two Websites to Keep in Your Back Pocket for Javascript

Today, we're going to talk about two websites to keep in your back pocket for JavaScript. If you are currently doing JavaScript development in your projects, there are two websites or repositories that can make your life a lot easier. In this episode, you’ll hear all about You-Don’t-Need-Lodash-Underscore and 30 Seconds of Code and some of the many JavaScript functions that you can find on these sites for things like CSS, React, and Python, among others. Tune in for some helpful and time-saving tips!

Key Points From This Episode:

  • Today’s topic: Two websites to keep in your back pocket for Javascript. 
  • The first website: You-Don’t-Need-Lodash-Underscore.  
  • Why you should google “Do I need Lodash?” before installing it.
  • The second website: 30 Seconds of Code. 
  • Some of the JavaScript functions you can find on these websites.  
  • How you can let us know about any more of these kinds of websites that you may find.
  • And much more!


Transcript for Episode 274. Two Websites to Keep in Your Back Pocket for Javascript

[INTRODUCTION]

[00:00:01] MN: Hello, welcome to The Rabbit Hole: The Definitive Developers Podcast. Living large in New York, I'm your host, Michael Nunez. Today, we're going to talk about two websites to keep in your back pocket for JavaScript.

[EPISODE]

[00:00:13] MN: I imagine a lot of you folks are currently using JavaScript in your projects. And I think that doing some browsing, and I ran into one website, that then reminded me of another website. The purpose of those websites is to make your life a little bit easier in your JavaScript development.

I'll jump right to it. Website number one, or rather, GitHub number one, I should say, it's going to be, You-Don't-Need-Lodash. If you go to Google right now and say you don't need Lodash, chances are the first entry that comes in is You-Don't-Need-Lodash-Underscore. And if you go into that particular GitHub page, you'll find that there are a ton of functions that already exist natively for you to use. 

The idea is that you cannot have to worry about importing a particular library, just to run one to two functions that you would like from Lodash. I find myself referring to this all the time, when I need to ensure that I can do a particular action without having to use Lodash, and it's been great for me. I don't think I've found the time where I could use Lodash over the native implementation.

I believe there are some instances where it doesn't look as clean. But that doesn't mean that you can't use it. And I would suggest if you're ever going to install Lodash, out of habit, I would go and pause for a second, google “Do I need Lodash?", or probably just google, “You don't need Lodash," and try to do all the functions natively.

The second website that I actually ran into earlier today, and inspired me to come up with this topic is 30 Seconds of Code. So, if you google “30 seconds of code”, you're introduced to the website, 30secondsofcode.org. But you can actually go to the GitHub, I think, anyone who's interested in the JavaScript portion of the particular 30 Seconds of Code will appreciate the snippets. And there are a ton of snippets that they have for folks who are interested in doing all sorts of things in JavaScript. I was just trying to look through it to see if there was anything that I could use, and there are a ton of functions. I has a lot of that Lodash related calls. Everything is broken down into a markdown file with a little description of what it's doing. It has a table that kind of explains all of the things about this particular function, who wrote it, what's the description about. And it's pretty cool to like, come in and see if there is a function that already exists in what you're trying to do, so that you don't have to worry about rewriting certain JavaScript functions again.

So, this is like a layer on top of that You-Don't-Need-Lodash. This is just like a list of functions that currently exist in JavaScript that will allow you to just run them, which I think are pretty cool. 

And I'm just scrolling down here, you can probably hear my mouse right now and they have stuff like, men date, men buy, miles to kilometer, they have merge, memoize, nor, not, all sorts of different things that you may have run into in your project, in which you cannot have to worry about because someone took the time to figure out what functions are definitely used in the day to day life of a JavaScript developer. There are all sorts of stuff in here. I'm still scrolling. I’m at M right now, and there's just a lot, a lot of cool stuff. So, I would definitely say check out the 30 Seconds of Code.

The You-Don't-Need-Lodash, and the 30 Seconds of Code, respectfully have their own particular section. If you go into their actual repository, you don't need as all sorts of different things, whether you don't need JavaScript at all, because CSS can do things for you. And you don't need Moment.js, you don't need GUI because the CLI rocks, and I think those are the popular ones. But 30 Seconds Of has all sorts of things, these little helper functions that help you kind of digest the thing that you're looking for. There's one for CSS, there is one for React, and one for Python I see on GitHub, and I will probably use the CSS one the most, because I think this scroll bar is a little small and it has all sorts of cool stuff in it and I'm curious see what exists here and this 30-second top. I imagine these two websites will definitely help you out, or these two repos, I would, websites, repos, these two particular repositories will definitely help your JavaScript skills. And I love to hear there any more of these kinds of websites that help you out and feel free to hit me up. I'd be more than happy to learn all this stuff, because I just ran into the 30 Seconds Of and I'm curious what other things exist out there.

So yeah, I mean, if you, can tag me on Twitter, either @radiofreerabbit or @googlemike, so that I can see what's out there and get better at coding.

[OUTRO]

[00:05:39] MN: Follow us now on Twitter @radiofreerabbit so we can keep the conversation going. Like what you hear, give us a five-star review and help developers just like you find their way into the rabbit hole. Never miss an episode. Subscribe now wherever you listen to your favorite podcast. On behalf of our producer extraordinaire, William Jeffries and my amazing co-host Dave Anderson, and me your host, Michael Nunez, thanks for listening to The Rabbit Hole.

[END]

Links and Resources:

You-Don't-Need-Lodash-Underscore
30 Seconds of Code

The Rabbit Hole on Twitter 

Michael Nuñez on Twitter