4 ms·
The dos and don'ts of UI design should be their first project. :)
by Funky_ 19y ago
The dos and don'ts of UI design should be their first project. :)
- ks 19y agoAnd there are several don'ts in the slides too. Never give variables the same name as functions or other parts of the language. They named their variables $int, $string and $bool...
- randallsquared 19y agoIn PHP it hardly matters, since variables have their own namespace. PHP is a lisp2.
- SwellJoe 19y agoIt might matter to the human reading the code.
- randallsquared 19y agoWell, sure, but that cuts both ways. :) It's convenient to have names like $bool and $int for didactic purposes, at least.