Maintain legacy code: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
* alternative:
* alternative:
</pre>
</pre>
== 避免的 coding 習慣 ==
[[Coding habits to avoid |避免的 coding 習慣]]


== further reading ==
== further reading ==

Latest revision as of 19:18, 5 November 2025

cases of legacy code[edit]

legacy: require_once, include_once

legacy: mysql_query, mysql_fetch_array

legacy: foreach

legacy: nested if-else

  • alternative: interface
(left blank intentionally)
legacy: 
* alternative:

避免的 coding 習慣[edit]

避免的 coding 習慣

further reading[edit]