Best of General Programming — February 2022
- 1
- 2
Hacker News·4y
Yes, I can connect to a DB in CSS
A new set of APIs give your browser the power to control CSS via its own Object Model in Javascript. This means that you can make custom CSS styles, add custom properties, and so on. The CSS Paint Worklet5 allows you to 'paint' on an element, and have the browser treat it as an image in CSS.
- 3
- 4
Robin Wieruch·4y
Mac Setup for Web Development [2022]
This year (2022) I bought the new MacBook Pro after having used the MacBook Pro 2015 for the last years. This first month has been super exciting and I am up running working efficiently on my personal and professional web development projects. Here I want to share with you my Mac setup for web development that I have used.
- 5
Flutter·4y
Announcing Flutter for Windows
Announcing Flutter for Windows Build high-quality Windows apps that also run on mobile and web. In 2021, Flutter became the most popular cross-platform UI toolkit. Nearly half a million apps use Flutter… So far, we’ve seen momentum that has exceeded our expectations.
- 6
Bits and Pieces·4y
SOLID Principles in TypeScript
SOLID design principles were invented by Robert C. Martin (also known as Uncle Bob) Following this principle leads to better maintenance of the code and minimizes potential side effects. In this article, I will be introducing you to these principles with examples written in TypeScript. All examples are available on this Github repository.
- 7
freeCodeCamp·4y
What Backend Should You Use for React?
In every React project, we manage data on the client through state and user interactions. Many apps are not possible without data that comes from the backend. Backend consists of two parts: A place to store our data and a method for retrieving the data. What type of backend you choose depends upon some key features of your data.
- 8
Medium·4y
All in one! Javascript promises…
Javascript promises (“Can be Fulfilled | Rejected”) can be considered as the asynchronous counter part of a getter function. Javascript is a single threaded & Only one thing can happen at a time, on a single main thread. To avoid promise chaining and to write clean code, we have async & await. Async Await acts as syntactic sugar on top of promises, making asynchronous code easier to write and read.
- 9
Hashnode·4y
Launching Flare ✨ - The twitter for developers we all have been wanting!
Flare is a new kind of social networking site made especially for software developers. Flare is my entry for the Netlify x Hashnode Hackathon. Flare uses a lot of cool open-source frameworks and tools. The client application for flare is built using Angular and is styled using Tailwind CSS.
- 10
DEV·4y
How I setup my Development Environment on macOS 2022 Edition
I always prefer to do a clean install when setting up a new computer. Either use a cloud backup solution to restore your data or use an external storage device to transfer your files. I would install all of the apps that I use this includes personal and developer related apps.
- 11
- 12
swyx·4y
Moving to Obsidian as a Public Second Brain
Two months ago I moved my notes to Obsidian, and I’ve been fairly happy with the result. Here my focus is on convincing you why your S.B. should be public. As I reached the limits of SimpleNote/Notion/GitHub, I thought about these factors for my next notetaking tool.
- 13
Hashnode·4y
How to Build creative ReadME for your Github Profile
GitHub Readme Stats is a tool that allows you to generate real-time GitHub stats for your contributions and repositories. You can also select your respective skillsets to feature them in your profile. For demo you can check my Github profile here. For more information on how to use this tool click here.
- 14
Hashnode·4y
Make Your GitHub Profile Standout To Attract Better Opportunities
To screen candidates, the industry is shifting away from resumes and toward GitHub profiles. When you're a fresher with no professional experience open-source contributions come in useful. As a result, it's important to make GitHub Profile stand out and present the best version of yourself. In this article, I am shedding light on tips to Make Your GitHub Profile Standout.
- 15
DEV·4y
Moving from JavaScript to TypeScript
JavaScript is still one of the most popular programming languages in the world. TypeScript aims to solve a lot of the problems that JavaScript has which makes the language a lot closer to other modern programming languages. In my opinion anyone who hates JavaScript is likely to fall in love with TypeScript.
- 16
Medium·4y
Node.js Vulnerability Cheatsheet
Cross-site scripting (XSS) attacks in the browser can lead to remote code execution (RCE) attacks. Injection happens when an application cannot properly distinguish between untrusted user data and code. Security misconfigurations can compromise the security of Node applications.
- 17
AppSignal·4y
Patterns and Anti-patterns in Node.js
There are two ways to declare variables in JavaScript: var and let. var declares a function-scoped variable (when declared within a function) Let and const declare block- scoped variables. With let and const, you won't be able to use a variable that has not been declared.
- 18
- 19
freeCodeCamp·4y
React Best Practices – Tips for Writing Better React Code in 2022
Two years ago, I started to learn and use React. And today I'm still using it at my day job as a Software Developer and in my own side projects. During that time I've come across a lot of "typical" issues. So I searched around and found some best practices that I've integrated into my workflow.
- 20
Hashnode·4y
Introducing Devenv - The note-taking app for Developers
DevEnv is an app that lets you save notes and share them with a community. Users can create notes, add a background to them select some labels, add tags and make it public or private. It supports markdown so you can write code blocks, add images, add links, etc.
- 21
- 22
Python in Plain English·4y
Improve Your Code with Decorators
A decorator is a function that takes another function and extends the behavior of the latter function without explicitly modifying it. Decorators can be used to define some general behavior that is common to many methods in a separate function. In this article, we will see how powerful decorators are.
- 23
Hacker Noon·4y
9 JavaScript Design Patterns You Will Love
Design patterns are reusable solutions for common problems that occur during software development. The greatest benefits from design patterns are: Because they are used by a lot of developers, you can be sure that they work. Reduce the need for refactoring: When you write an application with design patterns in mind, it is easier to get to a clean code faster.
- 24
asayer·4y
5 Must-Have VS Code Extensions to Boost Productivity (And Why)
Visual Studio Code has been one of the most popular code editors out there for many reasons. There are extensions available for free in the VS Code Marketplace that can help boost you and your team’s productivity. In this article, we take a look at some of these VS Code extensions.
- 25
DZone·4y
How Good Is Node.js for Backend Development?
Node.js is a back-end and open-source coding platform that allows you to write server-side enterprise-level too scripts. The platform is efficient and lightweight. It also allows developers to code both front and back end, which acts as a boon for web development. It is extremely fast at converting Javascript code into machine code because it runs on Google’s V8 engine.