Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Perl Cipher & questions on semantics/layout optimisation.

by educated_foo (Vicar)
on Feb 25, 2012 at 12:46 UTC ( #956101=note: print w/replies, xml ) Need Help??


in reply to Re: Perl Cipher & questions on semantics/layout optimisation.
in thread Perl Cipher & questions on semantics/layout optimisation.

First off: you absolutely must use strictures (use strict; use warnings;).
GMAFB. You "absolutely must" type "use strict;\nuse warnings;\n\n" at the start of your posts to avoid a scolding by GrandFather and his pathetic ilk. Sometimes these things catch bugs; sometimes they don't. But they're always good for cheap upvotes.

Replies are listed 'Best First'.
Re^3: Perl Cipher & questions on semantics/layout optimisation.
by GrandFather (Sage) on Feb 25, 2012 at 22:00 UTC

    I often give the "use strictures" advice because it gives the greatest bang for the buck in terms of catching the sorts of mistakes newbie (and other) programmers make. In that respect it is cheap advice of great value.

    In the case of the reply to the OP I strengthened my usual "should" to "absolutely must" because strictures would have caught several different types of error in the OP's code. A cursory test of the original code would seem to show it worked. However due to bare word errors and various other types of error Perl glosses over by default the code was not doing anything like what the OP expected.

    I'm not sure why you are fixated on "cheap upvotes". If that were the only advice I ever gave maybe there would be some basis for the implied accusation, but without much work you could find out for yourself that that doesn't apply to me, or indeed to any other monk I can think of.

    I sure as an experienced and competent programmer you have no need for help from the dumb computer, but for me tools such as strictures, a good IDE and unit tests make me an order of magnitude more productive with much greater confidence in my work. I shall continue to advise newbies (and anyone else who will listen) to use stictures and any other such tool that make their life easier and improves the quality of their code.

    True laziness is hard work
      I sure as an experienced and competent programmer you have no need for help from the dumb computer, but for me tools such as strictures, a good IDE and unit tests make me an order of magnitude more productive with much greater confidence in my work.
      I sometimes find "strict," "perl -w," and Emacs's syntax highlighting helpful. I also understand what they do. Mindlessly chanting "use strict;\nuse warnings;\n\n" at people doesn't teach them anything.

      EDIT:

      Reputation: -7 (+0 -7)
      But don't you *dare* question it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://956101]
help
Chatterbox?
[Corion]: LanX: Ow ;)
Discipulus manual work: i just tell the same to my boss: every time the quick solution is to assign some manual data entry task to my group.. because we have not direct access to many databases here..
[LanX]: point is: in high speed trade each bank has to remember what he has to get from the others... so dresdner got billed for losses but couldn't claim gains
Discipulus is this the IT?
[Corion]: Discipulus: Well, in many cases it doesn't make sense to build an interface and complicated program just to enter 20 rows into a database ;) But yes, automating data imports should pay off in the long run
[LanX]: Choroba: this happened before I joined, was still in uni, but my boss was summoned to the CEO of the second biggest German bank at that time and could only say " I told them its not ready" ;)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-03-29 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (350 votes). Check out past polls.