Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Universal laws of bugs?

by blackstarr (Friar)
on Mar 10, 2003 at 06:15 UTC ( #241662=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://241662]
help
Chatterbox?
[james28909]: ok i have a new question ;)
[james28909]: i am not sure how to ask google this either
[james28909]: i am getting the current time on my machine with scalar localtime;
[james28909]: i am scraping a website and retrieving a date stamp of an article.
[james28909]: well time/data stamp of the article
[stevieb]: james28909: what's the problem/question?
[james28909]: it is not an absolute date like "27" or "31". sometimes it is like wednesday or friday
[james28909]: and i need to format those special instances into an absolute date instead of "yesterday"
[stevieb]: ask a question on SoPW, and include at least a half-dozen examples of the input, and at least one example of expected output

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2017-04-29 02:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.