Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^5: Templating system choice

by Your Mother (Archbishop)
on Dec 21, 2020 at 19:45 UTC ( [id://11125559]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Templating system choice
in thread Here documents in blocks

People are lazy. I am lazy. I gravitate toward what I know as opposed to what will make my future work and maintenance easier. MVC is an excellent rule of thumb; TT makes it trivial to break. Which makes writing new code quick for those handy with it at the expense of sometimes immense, even untenable, technical debt, AKA we need a total rewrite.

Discipline is hard. Correctness is hard. It pays benefits down the road. Depending. :P There are no actual rules in design, only rules of thumb.

Replies are listed 'Best First'.
Re^6: Templating system choice
by GrandFather (Saint) on Dec 21, 2020 at 20:20 UTC

    I'm lazy. I gravitate toward writing what I hope to be clear robust code now to tackle the task at hand without shutting doors as far as reasonable knowing I'll probably come back to it later. I have a friend/co-worker who knows that the first cut of a piece of code is rubbish and expects to completely rewrite it later. He also like to future proof code so adds coding overhead "just in case we need it later". We pay the penalty for that future proofing every tie we touch the code.

    I take longer to get the first cut out, but my code almost never needs a total rewrite and is generally easier to maintain and extend. His future proofing almost never gets used, but is always a maintenance burden. He is often correct in that the first cut of his code generally ends up being replaced or is a maintenance nightmare. Laziness wins, but it has to be the right sort.

    Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-26 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found