http://www.perlmonks.org?node_id=241662


in reply to Re: Universal laws of bugs?
in thread Universal laws of bugs?

We can't even answer the fundamental question whether programming is hard or not.

Take it from one who's still struggling to tie his laces (programmatically). Programming is hard! It's coding that's easy.

It's easy to write a bit of code that does a specific "thing" ... I do it all the time.

What I still am struggling to get right is to write that same bit of code so that it is:
1.) Usable in more than just the one situation it was coded for.
2.) Stable in an unstable world.
3.) Looks good (i.e. Others can understand it.)
4.) Doesn't get me a metaphorical clout accross the skull when another programmer sees it.

Maybe I've swopped the "correct" definitions of coding and programming around? :-)

So Long
blackstarr

Replies are listed 'Best First'.
Re: Re: Re: Universal laws of bugs?
by Anonymous Monk on Mar 10, 2003 at 12:01 UTC

    1 - see CPAN, modularization is easy 'nuff said. 2 - Logic. Just understand basic logic. No one can break logical code unless they invent a square circle. 3 - Don't drop the the lowest common programmer. Just keep it relatively simple and you'll be find (common sense stuff, break complex operations into multiple lines, etc) 4 - Program for yourself and you won't need to worry about this.