Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

The Rob Malda Rule:

by gods
on Sep 08, 1999 at 11:31 UTC ( #485=perlmeditation: print w/replies, xml ) Need Help??

Sitting down and writing the code is four times more difficult but ten times more practical than writing on a whiteboard about what the code should do.

Problems encountered are proportionately more real than problems expected.

Replies are listed 'Best First'.
RE: The Rob Malda Rule:
by stephen (Priest) on Apr 05, 2000 at 00:26 UTC
    I don't find working on whiteboards useful for figuring things out. What many programming books don't mention is that diagrams are generally useless for explaining things to oneself, but very good for explaining things to others.

    So, instead of writing diagrams on whiteboard, I pull out a notepad and scribble out in pseudocode what I think a given process is supposed to do. Then I can type it in as comments as I write my code. It gives me a quick way of seeing the big picture of the code without creating flowcharts.

    When you're dealing with nonprogrammers (Muggles? Trivial persons? :) ) it's best to be armed with charts. Nonprogrammers will occasionally panic at screenfuls of text, but they often feel at home with pictures.

    Dive-coding (just immersing yourself into the code without prep work) feels practical, but sometimes can get you into serious trouble if what you thought the client wanted and what the client thought they wanted are different things. But there are other, sometimes far better, charts in this world than flowcharts. Transition diagrams are good; so are use-case diagrams.

    If you are the client, though, by all means dive right in...

    And yeah, it's frustrating when a professor makes you diagram, but it's important to know how to do... since there are more people out there that think like that professor.

    stephen

RE: The Rob Malda Rule:
by Anonymous Monk on Mar 08, 2000 at 12:59 UTC
    Not so, not so... True, you get a lot more done coding, but my boss doesn't like to say what he wants... that, or he finds it even harder to put words to his ideas than i do... so i practically have to wrench it out of him with a pencil and paper... then he changes his mind before i get the 0.0.0a version out... or he trashes the project minutes before i complete it... also, i'm working on a project with my brother... he knows NOTHING about computers (oh, sorry, forgot... he knows how to move the mouse), so we're gonna have a HUGE planning session next week or so...
RE: The Rob Malda Rule:
by root (Scribe) on Oct 05, 1999 at 23:27 UTC
    blahblahblah
      when will that threshold kick in
        I'll bet this doesn't show up

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://485]
help
Chatterbox?
[karlgoethebier]: perldigious: perhaps a block if you are paranoid ;-)
[choroba]: but undef %hash and %hash = () both work, too, but the first one keeps the memory allocated, while the latter makes it available for other parts of the program.
[choroba]: iirc
[perldigious]: karlgoethebier: Well it is a pretty old and complicated (for me) bit of code I wrote (poorly by my current standards), so I'm expecting everything to break when I add the scoping and find out what else is undesireably scope changed. :-)
[perldigious]: Ah, thanks choroba, that sort of thing was precisely what I was wondering when I asked.
[perldigious]: I didn't want to tie up memory unecessarily basically, I wanted to "delete" it specifically to free it up, and wasn't sure I was even accomplishing that.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-07-21 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (335 votes). Check out past polls.