My Developer Code
Testing
I love testing. I must have testing. Tests will be present in my modules, always.
Test, test, test. If you have tests, you will save yourself the headache of untraceable horror.
I can’t tolerate lack of testing.
Syntax & Grammar
I need syntax. I do not, will not, have variables like $path, even that is a strech. I need $abs_path or $rel_path. Don’t even talk about variables like $a2 or $pel.
Namespace is one of my peeves.
I format code for human legibility.
I excuse tests that have messy code, but modules and scripts must have clean human legile syntax.
Pragmas
I believe in strict. I have been deviating from ‘use warnings’, I don’t plan a u-turn at this point.
Peers
I have a solid respect for peers and my elders. If Ikegami or Schartz say X, I will consider X.
I trust those who came before me, and I treasure my peers.
CGI
I believe in CGI::Application.
A web application is just a gui to a backend.
If I develop a ‘web application’- I develop an application that passes tests and cli usage. Lastly, comes a web interface, which is CGI::Application.
I wouldn’t mind another interface, if somebody else would like to code it.
But a web application should really just be an interface.
It took me years to learn that.
Open Source
I pray to Richard Stallman. Although I may not study his prophecy enought or follow the creed to its truthmost.
Linux
I will grow and die by Linux. M$ is for users.