Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Code for elegance, code for clarity

by delirium (Chaplain)
on Sep 21, 2019 at 14:47 UTC ( [id://11106493]=note: print w/replies, xml ) Need Help??


in reply to Code for elegance, code for clarity

For the record, I have no idea what I was going on about 15 years ago. This whole meditation seems pretty silly.
  • Comment on Re: Code for elegance, code for clarity

Replies are listed 'Best First'.
Re^2: Code for elegance, code for clarity
by FreeBeerReekingMonk (Deacon) on Sep 23, 2019 at 23:36 UTC
    Silly? It's fantastic! Look at all the replies and well mentioned advice. Some come off as harsh, but that's because we are imperfect beings struggling to express ourself in a language that is very similar, but not quite Perl (and by that, I mean the English language). I'm writing this while sleepy. Couldn't read your code (well, it is not UNreadable, more like riding in a car on a 15km maximum zone). I guess that is the part of the language what drove people to Python. Please humor me, and answer me this question: How was your growth process over the last 15 years. Did you loose your perl-golf in lieu of readable code (have you become you a well oiled cog in the machine instead of a perl-fu rebel?).

    Personally I've lowered the perl-fu in my code, except for oneliners. There I pull open all registers to keep it short. And sometimes... sometimes I open NYTProfiler and discover that that other construct I don't use nor like is faster... and then well, it takes a while, but I start using it, begrudgingly, until I forget it was not "mine".

    edit: Oh, and perltidy. I code like a madman then use perltidy to get something readable. Madman you say? Yes I mix spaces and tabs... and other things I'm not proud of.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11106493]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-26 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found