Skip to content
The Miners

The Miners

Codeminer42’s Engineering Blog

  • #6982 (no title)
  • #6982 (no title)

Tag: Best Practices

Introduction to Clean Code 4 Tips to Make You Write Better Code

Introduction to Clean Code

4 Tips to Make You Write Better Code

Igor Damascenoby Igor DamascenoFebruary 4, 2025February 11, 2025

Have you ever looked at a coworker’s code — or even your own after a while — and spent hours wondering “What is this variable …

Use ESLint and Prettier correctly and never see ugly code again Stop using eslint-disable and use efficient static analysis in your project

Use ESLint and Prettier correctly and never see ugly code again

Stop using eslint-disable and use efficient static analysis in your project

Cicero Medeirosby Cicero MedeirosMay 8, 2024

Maintaining clean and consistent code is essential in web development. However, it gets challenging when you are collaborating on a project with multiple developers. That’s …

Codeminer42 Dev Weekly #4

Codeminer42 Dev Weekly #4

Gabriel Quaresmaby Gabriel QuaresmaMarch 28, 2024April 19, 2024

HELLO EVERYONE!!! It is March 28th, 2024 and you are reading Codeminer42’s tech news report… On Thursday, since we have the Good Friday holiday in …

Codeminer42 Dev Weekly #3

Codeminer42 Dev Weekly #3

Gabriel Quaresmaby Gabriel QuaresmaMarch 22, 2024April 19, 2024

HELLO EVERYONE!!! It’s March 22, and you are reading Codeminer42’s Dev Weekly! Let’s discover what this huge tech world had to show us this week! …

You are using React Context WRONG Or why we should not underestimate what we consider simple

You are using React Context WRONG

Or why we should not underestimate what we consider simple

Talysson Oliveiraby Talysson OliveiraMarch 19, 2024March 18, 2024

That’s right, you’ve read it correctly, you are probably using React Context API the wrong way… or at least not taking full advantage of what …

CodeTips#7: Spread operator: the slow beauty Let's go learn how and when to use the beautiful spread operator

CodeTips#7: Spread operator: the slow beauty

Let's go learn how and when to use the beautiful spread operator

Gabriel Quaresmaby Gabriel QuaresmaJanuary 31, 2024September 4, 2024

For a couple of years now, the JS community has been using the famous spread operator, AKA three dots (…), to copy values in arrays …

This is the way… the Callable Way

This is the way… the Callable Way

Luan Gonçalvesby Luan GonçalvesDecember 27, 2023April 11, 2024

Hello, fellow readers! Once again, we are here to talk about some neat Ruby features to make your perfect service/operation class. This time, about the …

Auto-Saving Forms Done Right 1/2 Design an auto-saving form with a good UX regardless of your framework

Auto-Saving Forms Done Right 1/2

Design an auto-saving form with a good UX regardless of your framework

Rhian Moraesby Rhian MoraesNovember 8, 2023April 11, 2024

Auto-Saving is a way to ensure that data provided by a user is persisted without needing them to click on “Send” or “Submit”. You may …

Controller Best Practices: Don’t Hide Instance Variables

Controller Best Practices: Don’t Hide Instance Variables

Thiago Araújo Silvaby Thiago Araújo SilvaApril 27, 2016May 30, 2023

This is something I often mention in code reviews, and it’s also mentioned in some Rails guidelines elsewhere without further explanation: please, don’t hide instance …

Content type

Beginner Intermediate Advanced

Recent Posts

  • Web Development with Ruby on Rails
  • Codeminer42 Dev Weekly #62
  • Avoiding forbidden words. Using a tree 🌳!
  • Full Steam Ahead: Getting Started with Ruby on Rails
  • Codeminer42 Dev Weekly #61

Tags

Android API Artificial Intelligence Authentication Best Practices C Computer Science CSS Database Dependency Injection Design Patterns DevOps Docker Elixir Frontend Functional Programming Git Golang HTML Information Security Infrastructure Java JavaScript NextJS Node.js open-source Performance PostgreSQL Programming Rails React Ruby Ruby on Rails Rust Software Architecture Software Development SQL Testing Tutorial TypeScript UI User Experience UX Vue.js Web Development
Creative Commons License 2025 Codeminer42 | Privacy Policy | Cookie Policy | Powered by WordPress and Bam.