Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: Parsing by indentation

by stevieb (Canon)
on Oct 24, 2018 at 20:39 UTC ( [id://1224617]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Parsing by indentation
in thread Parsing by indentation

"I though I was finally approaching expert level in Perl"

I've thought that every day for the past 10 or so years, but each day I find something new. I stick with "intermediary" just to be safe ;)

Writing things down (even without code) helps a lot of the time. Many call that Rubber Duck Debugging. I'll explain my issue to my wife (who has no idea what I'm talking about), to myself on a walk along the waterfront at my home, or to my desk as I'm headbanging it out of frustration.

Many solutions to extremely complex problems have been found via these types of methods. Several times, while I'm at a loss, I start typing the question here on Perlmonks, only to solve the problem by trying to explain the situation. Mostly, if that happens, I post the question anyways, in the event that someone else may benefit one day.

Replies are listed 'Best First'.
Re^6: Parsing by indentation
by cavac (Parson) on Oct 25, 2018 at 11:35 UTC

    Writing things down (even without code) helps a lot of the time. Many call that Rubber Duck Debugging. I'll explain my issue to my wife (who has no idea what I'm talking about), to myself on a walk along the waterfront at my home, or to my desk as I'm headbanging it out of frustration.

    Well, i usually try to explain things to my "internal imaginery dumb user personality". Basically, a fantasy personality in my own head that doesn't know much about computers. Same strategy i use when designing user interfaces and similar stuff. Now, whoever says "you don't have to be mad to work here" - well, madness certainly helped me to improve code quality and user experience ;-)

    perl -e 'use MIME::Base64; print decode_base64("4pmsIE5ldmVyIGdvbm5hIGdpdmUgeW91IHVwCiAgTmV2ZXIgZ29ubmEgbGV0IHlvdSBkb3duLi4uIOKZqwo=");'
Re^6: Parsing by indentation
by Anonymous Monk on Oct 24, 2018 at 21:14 UTC
    Thanks for the insight ! I find solutions to code problems at an unexpected moment, while mowing the lawn or taking a shower where part of my brain goes on auto pilot ... The rubber duck debugging is a very interesting method too !

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1224617]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (None)
    As of 2024-04-25 00:12 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found