Subject: Re: [xsl] How do you avoid relearning the same coding technique over and over? From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 6 Feb 2025 18:43:23 -0000 |
https://mymind.com/ On Thu, Feb 6, 2025 at 4:19b/AM Roger L Costello costello@xxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > 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 > > > -- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- Never fight an inanimate object ------------------------------------- To avoid situations in which you might make mistakes may be the biggest mistake of all ------------------------------------ Quality means doing it right when no one is looking. ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play ------------------------------------- To achieve the impossible dream, try going to sleep. ------------------------------------- Facts do not cease to exist because they are ignored. ------------------------------------- Typing monkeys will write all Shakespeare's works in 200yrs.Will they write all patents, too? :) ------------------------------------- Sanity is madness put to good use. ------------------------------------- I finally figured out the only reason to be alive is to enjoy it.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How do you avoid relearni, Bridger Dyson-Smith | Thread | [xsl] [ADVERT] Saxonica is 21 and w, Michael Kay mike@xxx |
Re: [xsl] How do you avoid relearni, Bridger Dyson-Smith | Date | Re: [xsl] How do you avoid relearni, Paul Tyson phtyson@x |
Month |