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.
  • Of course that should really be

    drawRectangleAtPoint(Rectangle rectangle, Point point)
    "Draw" is such a vague name...
    • Or:

        rectangle.drawAt( point )
      • You must be a Perl hacker. The compiler can't enforce and your IDE can't infer anything about rectangle or point. What if someone accidentally passed in a BouncyBall? It's like the end of Watchmen all over again.

        • "Ok?"
          ^rectangle drawAt: point
          • Just meaning, I get a pretty awesome IDE in Smalltalk but all I can infer about rectangle is that it responds to the draw: method.
            • Smalltalk had an IDE? It's impossible to write an IDE for a dynamic language! Now Eclipse, that's an IDE.

              (Before anyone responds, ask yourself "Hey, why did he mention Eclipse and Smalltalk together?")