in reply to Re: Functionality to automatically insert <readmore> tags into long posts?
in thread Functionality to automatically insert <readmore> tags into long posts?

I think it's kind of funny to make "use warnings/use strict" be the marker for code! Isn't one of the most given pieces of advice on here "you should use strict!!"?
  • Comment on Re^2: Functionality to automatically insert <readmore> tags into long posts?

Replies are listed 'Best First'.
Re^3: Functionality to automatically insert <readmore> tags into long posts?
by marto (Cardinal) on Jul 05, 2013 at 21:20 UTC

    'Isn't one of the most given pieces of advice on here "you should use strict!!"?'

    Sadly I don't think so ;) Regardless, it doesn't make sense to have this as a marker for code tags, as a lot of posts contain short self contained snippets rather than full programs.

      as a side note: heuristic to detect (perl) code

      update

      Combining all methods with a weighting function should be enough to warn posters about missing code-tags with a high reliability.

      The fine tuning of the weights could be done with genetic training with old postings which already have code tags.

      Cheers Rolf

      ( addicted to the Perl Programming Language)