Re: [xsl] How do you avoid relearning the same coding technique over and over?

Subject: Re: [xsl] How do you avoid relearning the same coding technique over and over?
From: "rick@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Feb 2025 13:34:15 -0000
I like Jim's suggestion to keep good documentation, but I haven't been
consistent through the years (I am 66). However, I have found the silver
lining to relearning: it helps me to solidify and increase my knowledge of
the languages that I am using. Languages change and sometimes relearning
gives me the opportunity to learn better ways of doing things.

Rick Quatro
Carmen Publishing Inc.
www.frameexpert.com

-----Original Message-----
From: Roger L Costello costello@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, February 6, 2025 7:20 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] How do you avoid relearning the same coding technique over
and over?

Hi Folks,

A few days ago, I needed some code to iterate over a set of folders and then
for each folder iterate over its files.

Over the years I have solved that problem--use the expath file module--many
times. In my most recent need, I spent a few minutes searching my file
system to find an XSLT program that uses the expath module, but I didn't
find anything, so I spent time relearning how to use the expath file module.
What a waste of time.

In the ideal world, when I develop some code--such as code to iterate over
folders and subfolders--I would pause what I'm doing, create example code
showing how to solve the task, and store that example code in some location
on my file system that I'll remember 6 months, 6 years later. Alas, I'm in a
hurry. I don't do that.

What's the solution? Discipline? No matter how much I'm in a hurry, stop and
create an example. Is that the solution?

How do you avoid relearning the same coding technique over and over?

/Roger

Current Thread