This code also suffers from the use of “magic” numbers: undefined constant values that describe something (a conversion, number of sensor reads, a rate, etc.) only no one can tell what because they just appear as if out of magic. You should never have a magic number in your code because they make programs impossible to understa…

Notes on Software Construction from Code Complete
655
11

Will Koehrsen

Alex Guanga

Alex Guanga

·

Follow

1 min read
·
Aug 21, 2019

--

Remember that you should define every variable, don’t have a number just written in your code. Try to implement the specific definition and purpose of each variable.

Software Development
Data Science
Education
Programming
Towards Data Science

--

--

Alex Guanga

Written by Alex Guanga

307 Followers

Data Engineer @ Cherre. Mets die-hard. Hip-hop junkie.

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams