Created
February 6, 2012 20:28
-
-
Save rnhurt/1754625 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Picking up proper coding practices that promote maintainability, | |
security, simplicity, resiliency, etc. in any language requires time and experience | |
Incomplete documentation | |
User-provided comments in the online documentation are frequently inaccurate. Arguably, this actually hinders one's ability to learn how to write proper PHP | |
encourages the mixing of business logic, database calls and presentation code. | |
inconsistent naming of functions | |
arguments to functions are inconsistent | |
case sensitivity--doesn't matter for functions, but does for variables | |
non-backward compatible changes to the language | |
character-set support | |
isn't thread safe | |
session handling is single-threaded | |
support for large integers varies between 32 and 64 bit systems (and unicode) | |
sacrifice clarity for brevity | |
coding standards | |
duplicate code | |
development patterns | |
try to do it all yourself | |
sharing | |
bad recursion | |
no namespaces | |
non-standard date format characters | |
magic quotes | |
slow | |
not filtering user input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment