4 ms·
Does anyone know if there's a guide anywhere on how to write the 'non-nerd hackable code' described here? Sweet article btw.
by edo 15y ago
Does anyone know if there's a guide anywhere on how to write the 'non-nerd hackable code' described here? Sweet article btw.
- wccrawford 15y agoYou might be surprised at how easy it is for non-nerds to hack on HTML a bit. Here's my guide: 1) Use CSS! Hide all that confusing color and placement code away from them. 2) Emphasize readability in the code. Spacing between sections, everything on it's own line, comments that tell even non-programmers where to put things (header, content, footer, etc) 3) MVC. Especially templating. Keep real code away from the stuff they'll be changing, like text and images. Having said that, is it worth it? Only the parts that help programmers (including yourself) as well. Most clients will not get their hands dirty in this stuff out of simple fear, and they certainly won't pay you extra for it. (Assuming you gave a single quote up front and aren't getting paid hourly.)
- rubzie 15y agoOn your last bit: I think clients indeed wo't pay for stuff like that, yet. They're learn the coming years that you either have to have a dev team (incl. front-enders!) in-house, or you should work with your agencies like they share your goals. Only then will they start to appreciate things like code quality...
- bilban 15y agoBelieve me, they won't ever appreciate code quality - they just care that it works. Clients get more hung up over a typo than clean markup!
- warfangle 15y agoSo, basically, the same best practices all front end developers should be following anyway.