MUO

Coding Tips

Build better code with our suggestions and tricks.

Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.

latest

good-programmer
10 Basic Programming Principles Every Programmer Must Know

Your code should be clear and easy to maintain. Here are several other programming principles to help you clean up your act.

By 
not-programmer
8 Signs You Aren't Meant to Be a Programmer

Not everyone is cut out to be a programmer. Is coding right for you? Here are some signs to point you in the right direction.

By 
GitHub 3D Logo
8 GitHub Repositories You Should Star, Now!

Don't miss out on these GitHub repositories! They are packed with valuable learning materials that can significantly boost your skills and career.

By 
The Go mascot—a blue gopher with large eyes—looks at a dark computer monitor showing a grid of terminal-like output.
What Are Example Functions in Go?

Improve your documentation and code test in one easy step with example functions.

By 
code editor opened on a laptop
How to Lazy Load Images Using HTML and JavaScript

This technique improves web page performance by loading images only when they are visible or near the user's screen.

By 
Project dependencies listed on a requirements.txt file with Python logo overlayed
6 Things You Should Know About Python's requirements.txt File

These factors can assist you in efficiently handling project dependencies and preventing compatibility problems.

By 
Person typing on a keyboard
How to Improve Search Performance in React With Debouncing

Avoid overloading the server with unnecessary search function calls and optimize your app performance using this technique.

By 
Binary values projected onto somebody’s back
How to Create Custom Exceptions in Python

Exceptions are a powerful and graceful way of handling errors in your Python programs. Custom exceptions take this power to a new level.

By 
Python code with hand holding mobile phone
How to Manage Resources in Python With Context Managers

Ensure efficient resource management using context managers in Python.

By 
Someone using MacBook for Back End Development
The 8 Best Coding Bootcamps for Career Changers

Coding is a great option if you want a career change, and there are plenty of coding bootcamps you can consider joining.

By 
Two people sitting facing each other with Python's logo showing on the front computer screen
Working With Generators in Python

Learn how this alternative function type can help you reduce memory footprint.

By 
Blurred-out computer screens
Getting Started With GNU Debugger on Linux: A Crash Course

Improve code quality and prevent unexpected results by learning how to use GNU Debugger to reveal unwanted bugs in your code.

By 
girl confused how to copy paste on linux
Why You Shouldn't Copy-Paste Commands From the Internet

Tempted to copy-paste a command online? Think twice.

By 
Two women working on Laptop
Understanding the JavaScript "this" Keyword

Are you among the JavaScript developers who find the "this" keyword puzzling? This guide is here to clear up any confusion you might have about it.

By 
Woman with MacBook Pro
How to Curry Functions in JavaScript

This JavaScript language feature can help tidy up your code and will give you a new appreciation of how functions work.

By 
a developer using a state management control plugin
Understanding State Management in Svelte Applications

Most non-trivial programs involve state and the management of it. Learn how you can work with data to create cohesive, reliable web apps.

By 
person coding on a MacBook
How to Install Python on Mac and Run Your First Script

Python no longer comes pre-installed on the Mac, so you'll need to do it yourself. This guide will also teach you how to run your first Python script.

By 
Paper showing wireframes
CSS
How to Style Svelte Applications

Find out how to get started with a stylish Svelte app.

By 
Person holding css3 logo
CSS
How to Use Native CSS Nesting in Your Web Applications

Native CSS nesting can simplify your CSS code and enhance your overall coding experience.

By 
A lock on a laptop keyboard
How to Secure Your Spring Application With Spring Security

Ensure the security of your Spring application by leveraging the robust features offered by the Spring Security framework.

By 
See more articles +