Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • This is something that an intelligent graphical IDE could show as a tool-tip when you hover the mouse over the closing brace. That way you don't need to repeat yourself in code, and you can still find out what the brace corresponds to without scrolling. Patrick
    • Or you could display it permanently at the end of the block, making it look like a tooltip or something, but not as a comment in the source code. (in Emacs, an overlay)

      I'm note sure I'd appreciate it though, it may be too noisy.

      Maybe it would be useful if it was only displayed whenever the block is longer than n lines, or whenever the other side of the block isn't visible.

      This may be one of those things that sound good/bad, but you won't really know how it pans out until you try it :)