Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I have to say that spell checking code seems a little unlikely to me. It assumes a pretty stringent and specific set of rules about writing code and what I would consider to be a stupendous conformance to that set of rules. I seldom spell thing correctly when making variable for example. A typical variable I might use would be %qs_m which to me means "hash of query strings of type that return multiple values".

I can understand the need for coding standards, really, I do! But when it gets down to it, I will occasionally provide a map or dictionary to explain variables (Or anything else in the code) if it seems needed. The level of standardization that would require spell checking my variable names and method calls would so much hinder my coding process! No matter what, if I have to look at someone else's code, the best way to figure out what is going on is to fire up a debugger and step through it. Simply reading it, regardless of how it is standardized, does not help me one bit.

Seems to me that is what POD is for.... .

I wish I knew of a tool to help out, but honestly, I can't imagine the ROI on such a tool.

To be clear, this is my opinion and not a criticism!

If I am way off, don't hesitate to tell me about it. I would honestly like to understand the value of that level of code checking...

  • ...the majority is always wrong, and always the last to know about it...
  • ..by my will, and by will alone.. I set my mind in motion

In reply to Re: Check spelling in perl source code. by wjw
in thread Check spelling in perl source code. by chrestomanci

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found