On Tue, 2011-03-01 at 08:23 +0800, Niclas Hedhman wrote: > Getting to the blob is for me; > http://www.russel.org.uk/gitweb/?p=JSR166.git;a=blob;f=build.gradle;h=fb16c03b046817aaea8b81849488d5f279162933;hb=gradleBuild
Hummmm... the hb is different, not sure why, nor why what works for me doesn't work for you, but what works for you works for me. I guess GitWeb needs to sort itself out. Of course the URL encodes a specific commit, whereas it would be good to say HEAD. > The 'raw' is for me; > http://www.russel.org.uk/gitweb/?p=JSR166.git;a=blob_plain;f=build.gradle;hb=gradleBuild > > Using Firefox 3.6.13 on Mac OSX 10.6.6 Works for me as well. Pity there isn't something more restful! > As for your question; Peter gives you something decent enough I think. > (You seem obsessed about making it 'tiny' ;-) ) I think Peter could usefully make that an example idiom somewhere -- is there a place for such Gradle things? I am very much into parsimonious code, DRY is for people with resources to spare. My background is a) ancient machines where you were lucky if you had 4kB of main memory and 2.5MB hard disk; b) embedded systems with 128kB of flash and 4kB RAM -- though these are now 1MB flash and 16kB RAM. DRY is just not enough in these situations. To be honest I find the modern attitude, especially in Java and IDE circles of "just go out and buy 4GB more main memory and a 2TB hard disk" to be objectionable and offensive. Software developers seems to have lost the philosophy of being frugal with resources. Maybe I am too old for the "disposable, buy more" society beloved of vendors. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
