Well my first rule is a simple project never stays simple for long. You build it quickly, it works...sure some aspects are a bit dodgily written but what the hey. Then your client/boss (whatever) comes along and says 'Hey great...now can you add such and such to it please'.
So you add and add until eventually you have a complete mess. Then you have to rewrite it or keep it in an unsupportable state and hand it off to someone like a ticking bomb.
So what I do is always,always design before coding. Unless of course its one of those one-liner apps that takes 2 mins.
In my opinion (and it is just my opinion) you can't code til you know what data the program will operate on. Then of course as you are defining the data you need to 'know' what that data will be. So the only way you can do that is with a design. In otherwords design code and database and then move on to the code itself.
If you code last then the language you use is (mostly) immaterial as you have solved the problem first.
Normally a free rein project just gives you more scope to shoot yourself in the foot. Do it as properly as you can in the time you are allotted and at least you can do some damage minimising.
Just my two penneths worth :)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.