Back to Browse

Clean Coding Tips: replacing magic numbers with well named variables.

1.6K views
Jun 18, 2020
15:44

How to write clean code and clean coding tips: replace "magic numbers" with well-named variables and symbolic constants. This video goes through several examples in Java on replacing literal values hard-coded into a program and replacing them with variables to make the program easier to read and maintain. Learn more refactoring tips by reading the "Refactoring" book by Martin Fowler: https://amzn.to/2Y9maFp Learn more clean coding tips by reading the "Clean Code" book by Robert Martin: https://amzn.to/3fymUtn Join the Software Engineering Mastermind Group on Facebook to learn more great tips on writing great software: https://www.facebook.com/groups/SoftwareEngineeringMastermindGroup/

Download

1 formats

Video Formats

360pmp422.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Clean Coding Tips: replacing magic numbers with well named variables. | NatokHD