Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: When does programming become automatic (if ever)?

by nysus (Parson)
on Apr 14, 2016 at 16:00 UTC ( [id://1160419]=note: print w/replies, xml ) Need Help??


in reply to When does programming become automatic (if ever)?

What tools are pros using to fix or avoid basic syntax errors? If I code for a couple of hours and then run the code, I regularly find a dozen or so basic errors like missing semicolons, misspelled variables, unmatched brackets, etc. I'm using syntax highlighting in vim which helps to a degree but misses some really obvious stuff.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

  • Comment on Re: When does programming become automatic (if ever)?

Replies are listed 'Best First'.
Re^2: When does programming become automatic (if ever)?
by choroba (Cardinal) on Apr 14, 2016 at 19:09 UTC
    I write the code in a way to be able to run it more often. In fact, I usually make it (or better, its test suite) run automatically every time I save any of the files. So, I'm fixing the errors as I progress.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
Re^2: When does programming become automatic (if ever)?
by hippo (Bishop) on Apr 14, 2016 at 20:45 UTC
    I'm using syntax highlighting in vim

    Excellent. That means you can also leverage the perlsupport plugin so you can compile from within vim. Compile early, compile often.

      Holy crap, this plugin looks awesome. Thanks!

      $PM = "Perl Monk's";
      $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
      $nysus = $PM . ' ' . $MCF;
      Click here if you love Perl Monks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found