What is soft coding? (Anti-pattern) -


What is soft coding if I find that soft anti-pattern coding is abbreviated and misleading? What settings is this a bad practice (anti-pattern)? Also, when can it be considered beneficial, and if so, how should it be implemented?

short answer: To avoid hard coding, going to extremes and to maintain it Some monsters end up with the abstract abstract layer, which is more than the hard coded values ​​from the beginning. That means more than engineering.

Like:

  Special file class file = new special file class (200); // hard-coded special file class file = new special file class (DBCFIF.start (). GetConnection (). Lookup value ("MaxbufarSexFestFile"). GetValue ());  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -