Best of Logging โ€” January 2022

  1. 1
    Article
    Avatar of hnHacker Newsยท4y

    Who wrote this shit?

    It is a beautiful rite of passage for a junior developer to join a team, take some tasks full of enthusiasm, and have the life and joy sucked out of them one sprint at a time. Trashing legacy software is fun. It creates camaraderie. Who wrote this? What were they thinking? Looking at the commit log showed names that meant nothing to me.

  2. 2
    Article
    Avatar of devtoDEVยท4y

    8 techniques to write cleaner JavaScript code

    In this article, we're going to look at 8 different techniques to help you write cleaner JavaScript code. Pure Functions are a function that always returns the same output, given the same input(s) Fewer or Named parameters are a good way to make your code cleaner.

  3. 3
    Article
    Avatar of gcgitconnectedยท4y

    Production code: Top 5 Best practices

    Make your objects immutable. Enums for well-defined values should be used. Choose the correct logging level. Never sensitive data like passwords or other personal information. Use standard loggers in any language, but this should be taken care of. Try to ensure that messages are in top-parsable format.

  4. 4
    Article
    Avatar of hashnodeHashnodeยท4y

    How to build a CLI using NodeJS ๐Ÿ’ป

    The command line interface (CLI) is one of the most basic and powerful applications ever created by mankind. We are going to be building a CLI which would generate starter templates with TailwindCSS, and Prettier pre-installed. We will be using a NodeJS framework called Tailwind CSS.

  5. 5
    Article
    Avatar of towardsdevTowards Devยท4y

    Visual Studio Code โ€” Quokka. What is Quokka?

    Quokka lets you test your code without using console.log() or identifier expressions. You can start a new file or start using Quo k ka once installed. Quokka can also be used with TypeScript. Do note, that Boolean, Number, and Function data types are not supported when using sequence expressions.

  6. 6
    Article
    Avatar of devtoDEVยท4y

    Asynchronous loops in Javascript - using forEach, map and for loop

    Asynchronous operations are crucial when working with web applications. In this post, we are going to see how to use loops with async/await. The forEach loop executes all of the iterations simultaneously. The map function behaves exactly the same as forEach in terms of async operations.