Posts tagged with refactor

Benefits of writing clean, maintainable code.

jump24.co.uk - submitted by jamie peters

We all strive to write good code when we jump onto a project but sometimes do you wonder why?

The post covers

  • Why you should write clean code
  • Techniques for writing cleaner code

The techniques here are useful for all level of developers and worth a quick skim over as we all nothing wrong with a quick refresher

Read more [jump24.co.uk]

Join thousands of developers

Every two weeks, I share practical tips, tutorials, and behind-the-scenes insights from maintaining 300+ open source packages.

No spam. Unsubscribe anytime. You can also follow me on X.

Avoid using else

by Freek Van der Herten – 1 minute read

Using else often encourages complexer code structure, makes code less readable. In most cases you can refactor it using early returns.

Read more

Replacing Keytar with Electron's safeStorage in Ray

by Adriaan Marain – 3 minute read

Ray is an app we built at Spatie to make debugging your applications easier and faster. Being web developers, we naturally decided to write this app in Electron, which enabled us to move from nothing to a working prototype to a released product on 3 separate platforms within a matter of weeks.

Read more