fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.9K
active users

#perltidy

0 posts0 participants0 posts today

I would love to do more and coding. Have done some Perl over the last couple of weeks again. But what brings me back to most of the time is the better support for my Editor. E.g. renaming variables, code-actions, etc. That's just a superior experience :-( and are OK, but not perfect.

Will soon publish a new blog post about "Perl new features" and how I used them.

Replied in thread

@deflarerOfClouds #GitHub has hosted #PerlTidy development for a long time. Please continue to file bug reports there: GitHub.com/perltidy/perltidy/i

You might even consider making a reasonable case to move the project’s remaining assets off #SourceForge. Impotently whinging about it here doesn’t change anything.

/ @ChristosArgyrop @ovid @perl #Perl

GitHubIssues · perltidy/perltidyPerl::Tidy, a source code formatter for Perl. Contribute to perltidy/perltidy development by creating an account on GitHub.
Replied in thread

@eliasp @ColinTheMathmo BTW #Perl has two well-known tools to encourage and enforce #programming style and best practices, respectively:
#PerlTidy: perltidy.github.io/perltidy
#PerlCritic: perlcritic.com

Your project or team can use their reasonable defaults or further configure them to reflect and maintain the consistent application of your preferences. They also integrate with editors/IDEs, source control management, and author #testing.

Replied in thread

@ovid Either of the perltidy options:

-nwrs='A'

or

--no-want-right-space='A'

ought to do it. “A” is the token #perltidy uses for #Perl attribute separators according to the output of `perltidy --dump-token-types`.

Feel free to put either in your .perltidyrc file. I prefer to use long option names as they’re more self-documenting or at least easier to search for.

@jens @RL_Dane @stoerdebegga One reason I choose #Perl is its expressivity without being too “large” of a language. (This last is why I still haven’t wrapped my head around #RakuLang—they threw so much into its core.)

I use #PerlCritic and #PerlTidy to set fairly strict defaults, but both have escape hatches for code islands that need to bend the rules for whatever reason (e.g. better modeling or critical-path performance, or sometimes fencing off legacy code to be brought up to spec later).