![]() |
#46 | |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 576
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Sigh. You're quite right, I did. You originally said this:
Quote:
My reaction is more to do with: it's a really crap idea, but I was too polite to say so at the time. There is this concept in software engineering called "coupling". You're suggesting that I modify the implementation of the auto-add module to create my own personal version, and that (with the aid of a bit of scripting and wonderful tools like git) all would then be well. However, if Kovid ever touched the auto-adder in the future, it might break my code. And even if it didn't, I'd have to carry out another exercise known as "regression testing" to make sure that what used to work, still does work. My code would be what is known as "tightly" or "strongly" coupled to Kovid's code. And this is a Bad Thing. Instead, in the same time or less than it would take me to download and install git, learn how to use it, write all the lovely scripts to make my life easy, I learned how to write a plugin; wrote one, tested it, debugged it and posted it. A plugin is what is known as "loosely" or "weakly" coupled to the main Calibre codebase; instead of relying on implementation details inside Kovid's black box, it uses a well-publicised interface which, if it changed, would not only break my code, it would also break code used by I-don't-know-how-many-thousands of people. So I'm confident that this is very, very, very unlikely to happen. So as I said, thanks but no thanks. |
|
![]() |
![]() |
![]() |
#47 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,723
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Phssthpok - aaah, remembrances of Larry Constantine -- family therapist, musician/composer, fiction author of sci-fi and other genre, and software engineer extraordinaire.
BR Last edited by BetterRed; 01-10-2016 at 03:03 PM. |
![]() |
![]() |
![]() |
Tags |
auto add |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Auto Add | james14 | Library Management | 10 | 05-31-2014 02:49 AM |
How-to Auto-add cover.jpg? | buralex | Library Management | 6 | 03-05-2013 03:25 AM |
Is this possible: Auto-add book/magazine then auto e-mail to device? | runningwithbulls | Library Management | 5 | 09-10-2012 12:27 PM |
Help with new feature: Auto-Add Folder | kbullkar | Library Management | 12 | 03-30-2012 06:15 AM |
need auto add help | bulldogmo | Calibre | 10 | 02-15-2012 10:38 PM |