Log in

goodpods headphones icon

To access all our features

Open the Goodpods app
Close icon
The Moths of Programming with Dino Dini - The Moths of Programming 1 - Global Variables Are Bad

The Moths of Programming 1 - Global Variables Are Bad

The Moths of Programming with Dino Dini

03/30/20 • 29 min

plus icon
bookmark
Share icon

The moths of programming are ideas in the software engineering industry that have become pervasive due to virality rather than reality. Although they may have some truth to them, they are often inaccurate, misleading, distracting or even damaging. I call them moths because they flutter around in a programmer's mind, getting in the way of truly good practice.

This first chapter considers the classic moth "Global Variables Are Bad". I believe this moth is a hangover from times gone by with the limitations of early programming languages, and is no longer relevant. Further an obsession with this moth has closed the minds of programmers everywhere to better way of organizing code, perhaps causing untold damage.

The smoking gun? Singletons.

( You can also follow Dino on YouTube https://www.youtube.com/channel/UCd359G69NIqKeS-rP5v04lw )

Support the show

  • https://tinyurl.com/yc4pP968 (SIGNAL)
  • https://www.dinodini.com (WEB)
  • https://twitter.com/dndn1011 (DEACTIVATED, please use SIGNAL)
  • https://www.youtube.com/dndn1011

03/30/20 • 29 min

plus icon
bookmark
Share icon

Generate a badge

Get a badge for your website that links back to this episode

Select type & size
Open dropdown icon
share badge image

<a href="https://goodpods.com/podcasts/the-moths-of-programming-with-dino-dini-93837/the-moths-of-programming-1-global-variables-are-bad-5039023"> <img src="https://storage.googleapis.com/goodpods-images-bucket/badges/generic-badge-1.svg" alt="listen to the moths of programming 1 - global variables are bad on goodpods" style="width: 225px" /> </a>

Copy