Best of General ProgrammingJanuary 2022

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How to Write Better Git Commit Messages – A Step-By-Step Guide

    This guide outlines steps to elevate your commit messages that you can start implementing today. When first introduced to Git, it's typical for developers to feel uncomfortable with the process. You could save yourself and/or coworkers hours of digging around while troubleshooting by providing that helpful description.

  2. 2
    Article
    Avatar of pointerPointer·4y

    A Swiss Army knife for developers

    DevToys works entirely offline! No need to use many untruthful websites to do simple tasks with your data. Free, open source and offline. 14+ tools are available, including: JWT decoder, Hash generator and Json to Yaml converter.

  3. 3
    Article
    Avatar of hnHacker News·4y

    How we handle 80TB and 5M page views a month for under $400

    Poly Haven has 5 million pageviews and 80 terabytes of traffic every month for under $400. Cloudflare All the Way is the reason we can do what we do so easily and so affordably. Nextjs is a framework created by Vercel which improves performance for users around the world.

  4. 4
    Article
    Avatar of jsPlainEnglishJavaScript in Plain English·4y

    Time to Say Goodbye to Webpack?

    Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. Vite is opinionated and comes with sensible defaults out of the box, but is also highly extensible via its plugin API and JavaScript API with full typing support.

  5. 5
    Article
    Avatar of fettblogfettblog.eu·4y

    How not to learn TypeScript

    TypeScript is a superset of JavaScript and has been advertised like this ever since. Choosing TypeScript does not give you a free card to ditch JavaScript and its erratic behavior. Understanding JavaScript is key to understanding TypeScript. A type annotation is a way to explicitly tell which types to expect. The opposite is type inference, where TypeScript tries to figure out the type for you.

  6. 6
    Article
    Avatar of devgeniusDev Genius·4y

    8 Ways To Drastically Boost Your Developer Productivity

    8 ways to boost your developer productivity with these 8 tips. Automate repetitive tasks with scripts. Use a real debugger instead of printing variables. Back up your local database with Bash Scripts. Use the right tool for the job and don't forget the possibility that you might accidentally commit your work to memory.

  7. 7
    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.

  8. 8
    Article
    Avatar of devtoDEV·4y

    Productivity Tips From Developers to Developers

    Avoid coding first, most likely what you are solving has already been solved. Abstraction is at the core of programming. Caching is a performance optimization and cause of many subtle bugs. There is no one way to do something and learn early on to formulate your options, pros and cons.

  9. 9
    Article
    Avatar of pointerPointer·4y

    The baseline for web development in 2022

    Alan Dávalos is a front-end engineer at LINE. He analyzed the changes in the web between 2021 and 2022. The biggest change that happened in 2021 was the retirement of Internet Explorer (IE) The new baseline for web development in 2022 is: low-spec Android devices in terms of performance, Safari from two years before in Terms of Web Standards, and 4G.

  10. 10
    Article
    Avatar of logrocketLogRocket·4y

    Modern tools for PHP developers

    PHP used to be a mediocre tool, and that’s probably an understatement. Since being rewritten in v5.0, the evolution of the language and its tools has been impressive. With the complexities involved in web development nowadays, you can’t judge the language in isolation. You need to be aware of all the satellite technologies that help you create high-quality software.

  11. 11
    Article
    Avatar of phProduct Hunt·4y

    Vision UI Dashboard - Open Source Chakra UI / Material UI Dashboard

  12. 12
    Article
    Avatar of devtoDEV·4y

    Figma for Developers

    Figma is a free and widely-used UI design tool. It lets developers and designers understand each other's tools and priorities. Figma files are organized by Pages (think screens of your application), which each contain Frames. Prototype allows the designer to hook all the Frames together into a clickable prototype.

  13. 13
    Article
    Avatar of phProduct Hunt·4y

    DevToys - Swiss army knife for developers

    A collection of converters, formaters, encoders, generators and other tools for your Windows desktop. Needs no internet connection to work and currently contains more than 14 tools. Makes me want to go back to Windows. Back to Mail Online home. Back To the page you came from.

  14. 14
    Article
    Avatar of hnHacker News·4y

    PHP in 2022

    PHP 8.1 was released just a little more than one month ago. New features include enums, promoted properties and fibers. PhpStorm is now supporting generics when writing code. The PHP Foundation is stepping down to make core development sustainable. There's also a new initiative backed by several big companies to make PHP sustainable.

  15. 15
    Article
    Avatar of devtoDEV·4y

    VS Code Extension that Generates Documentation Using AI

    There's a fairly new extension on the VS Code marketplace called AI Doc Writer for JavaScript, TypeScript, and Python. I put it to the test to see how good it really is. Here's how it fared on some JS code:. The function is used to collect the data from the repository. :return: A matrix of the dataset. ''' response = get( "https://raw.github.com/yashLadha/" + "The_Math_of_Intelligence/master/Week1/ADRvs" + "Rating.csv" ) lines = [] for item in lines: item = item.split(",") data.pop(0

  16. 16
    Article
    Avatar of quastorQuastor Daily·4y

    How Streaming Video on the Internet Works

    How Notion sharded their Postgres databases into a horizontally-partitioned database fleet. What is HLS and how does it work The MP4 and WebM formats How video files are delivered and the origin server vs. the CDNPlus, a couple awesome tech snippets on How a Single Line of Code Made a 24-core Server Slower Than a Laptop.

  17. 17
    Article
    Avatar of itsfossIt's Foss·4y

    Obsidian is a Notion Alternative for Hardcore Markdown Users for Creating Knowledge Graph of Notes

    Obsidian Markdown Editor is a free-to-use Markdown editor for Linux. You can use it to interlink your documents and display them in a graphical view. It also has a command palette (located in the left sidebar of the editor) that allows you to control various aspects of theeditor.

  18. 18
    Article
    Avatar of dzDZone·4y

    Top Front End Development Trends in 2022

    Front-end development is the creation of a web portal user interface using coding and other applications such as HTML, CSS, and JavaScript. Front-end developers need to make sure that the interface is attractive, user-friendly, and navigable. In this article, we are going to learn about some of the most preferred front- end development trends to be adopted in 2022.

  19. 19
    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.

  20. 20
    Article
    Avatar of hnHacker News·4y

    Dev corrupts NPM libs 'colors' and 'faker' breaking thousands of apps

    Users of popular open-source libraries 'colors' and 'faker' were left stunned after they saw their applications, using these libraries, printing gibberish data and breaking. The developer of these libraries intentionally introduced an infinite loop that bricked thousands of projects that depend on them. The reason behind this mischief on the developer's part appears to be retaliation against mega-corporations and commercial consumers who rely on cost-free and community-powered software.

  21. 21
    Article
    Avatar of 30seconds30 seconds of code·4y

    30 seconds of code

    Knowing what DNS stands for and the types of DNS records are pretty useful. Most web developers go about their day-to-day without having to deal with DNS records. A DNS is made up of multiple records of different types, each one with its own purpose. Here's a breakdown of the most commonly-used ones.

  22. 22
    Article
    Avatar of btrprogBetter Programming·4y

    SOLID Principles With (almost) Real-Life Examples in Java

    Each class should have only one sole purpose, and not be filled with excessive functionality. Open-Closed Principle Classes should be open for extension, closed for modification. Interface Segregation Principle Interfaces should not force classes to implement what they can’t do. Dependency Inversion Principle Components should depend on abstractions, not on concretions.

  23. 23
    Article
    Avatar of logrocketLogRocket·4y

    Creating dashboards in React with React Dashboard

    The Flatologic dashboard template is built with React, Bootstrap, React Router, Redux, and GraphQL. It comes with a React frontend and a Node.js backend. This tutorial will cover how to create a dashboard in three easy steps. We will connect it to an SQL database with MAMP so you have some local data.

  24. 24
    Article
    Avatar of devtoDEV·4y

    I've read... The Pragmatic Programmer

    The Pragmatic Programmer is a book about becoming a true professional in their craft. It was published twenty years ago, but it's fascinating to see the struggles we still face day in and day out discussed even then. It's definitely a must-read book for programmers and even people managing programmers.

  25. 25
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    Learn ReactJS – Complete Roadmap

    ReactJS (aka React) is an open-source JavaScript-based user interface library. It is insanely popular in web development communities today. In this article, we will look at a complete roadmap to learn ReactJS. We will break the entire roadmap into four phases: What to learn before React, How to move from beginner to intermediate, and How to go from intermediate to advanced.