True, but there is a degree of separation: you might have to change the
extension to follow changes in the code base, but the odds are that any
clients who make use of your extension will be unaffected.

That's the objective of reducing coupling between interface and
implementation.

-tk

On Fri, Nov 8, 2024 at 6:28 AM Karen K <[email protected]> wrote:

> Tom Keffer schrieb am Freitag, 8. November 2024 um 14:14:30 UTC+1:
>
> For example, the function archiveDaySpan() used to have a parameter
> "grace", which was removed in 2022.
>
> Better to write a search list extension, whose interface has not changed
> in over 10 years.
>
>
> @Tom: One question: If I write a search list extension (what indeed I
> already did) and I do not want to re-invent core WeeWX functions, I have to
> refer to those functions there, too. The same applies to XType extensions.
> The only difference may be that WeeWX extensions require some kind of
> maintenance anyway.
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/weewx-user/c0b69def-cd43-49dd-927b-e8f6e688642fn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/c0b69def-cd43-49dd-927b-e8f6e688642fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECObT%2BrtZD0Ctwtp%2Brz8ey-aQTi9OT2_tRhQywkycSiLw%40mail.gmail.com.

Reply via email to