Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I seem to recall something Nat said in his "What's With Those Python Fucks Anyway?" rant that "circles should be square so they're easier to draw and measure".

    While I sympathize the the folks that write tools to do static analysis of Perl code, it seems rather putting the cart before the horse to restrict language development to serve those tools. It should be the other way around. It would be nice if we had formal Perl 6 style grammars to make life easier for the toolsmiths, but I'm not holding my breath

    • While I sympathize the the folks that write tools to do static analysis of Perl code, it seems rather putting the cart before the horse to restrict language development to serve those tools.

      If you could create the best language in the universe, but it could only be written using Notepad (or an equivalent), would anyone actually use it?

      Support for good toolchains appears to be correlative with the success of a language (although proving this, and then further proving causality, would be an interesting exerci

      • If you could create the best language in the universe, but it could only be written using Notepad (or an equivalent), would anyone actually use it?

        Sadly, yes. A less panicky question would be to say if you could do without syntax highlighting and indentation, which is really all the Perl specific stuff I use. I'd miss indentation, but syntax highlighting I can live without.

        That said, its not EITHER we have tools OR we get to play with the language. The tools have already had to reverse engineer the entire Perl 5 grammar. If a grammar altering pragma becomes popular they can add a few more widgets. This makes the tools a bit more complicated, but its not some impossible task or even an order of magnitude increase in difficulty.

        The FUD here is that DD is going to spawn a wild collection of crazy new grammar tweaks everywhere. Didn't happen with source filters, I don't see it happening with DD. Largely what I see reaching production quality is A) real signatures and B) powerful blocks. Stuff like bareword URLs and inline SQL can break the grammar too many ways because of their ill-defined content.

        Source filters and Devel::Declare are open to broad abuse, but what's remarkable is its use has been very restrained. ... for now.

        DUN DUN DUUUUNNNNN!!!

        Perl 5 went through its source filter craze, discovered the problems with it, recoiled, spawned Perl 6 grammars, and then largely went dormant because its unsafe. DD might succeed in becoming stable enough to get past the source filter high water mark.