× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> There are a few details you've yet to consider, Buck.

Absolutely!

> Let me get this right:
> You believe that
>
> 1)  name=getName(object, whatEverKey)
>
> is SIGNIFICANTLY BETTER than:
>
> 2)  name=getName("Vendor", whatEverKey)
> 3)  name=getVendorName(VendorKey)
>
> When 2 and 3 are available as of a few releases ago??

Yes, I do.  Because I would be able to construct more generic
assembly/disassembly routines.  Driven by the data instead of needing a
giant SELECT/WHEN group.  Being able to code one function call to extract or
insert any name in an XML/HTML/EDI stream instead of many function calls
saves time which is money.  Although your variant 2 is quite close to that,
and is what I tend to use now.

> PLEASE don't try to convince me #1 is easier,
> and saves time and money, unless you wanna
> debate the article I referred to.

My only intent was to demonstrate an actual business use for overloading.
I'm not at all trying to say that function overloading is the be-all and
end-all of programming.  Just that it does have a place in the pantheon.
  --buck




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.