What is Hard Coding? (HC-1)
Hard-coding happens when we write something in our code, and then repeat it, assuming that it is not going to change (or, more likely, not even thinking about it at all!). We generally think of “exposing” literals, sometimes referred to as “magic values”, when it comes to hard-coding, but in fact there are many ways that hard-coding manifests in our code. In this video, Steven Feuerstein points out many of these other manifestations. Other videos in this series then explore each type of hard-coding in more detail.
==================================================
Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
source