Euphoria Ticket #770: "Built-n methods" vs "Built-in routines"

Wikipedia describes method as a subroutine (or procedure or function) associated with a class. But there is no OOP in Euphoria, so I think there must be rather used "routine" or "subroutine" term instead of "method" in the following doc page: http://openeuphoria.org/docs/builtins.html#_782_builtinmethods

Details

Type: Bug Report Severity: Textual Category: Documentation
Assigned To: _tom Status: Fixed Reported Release:
Fixed in SVN #: View VCS: none Milestone: 4.0.5

1. Comment by jeremy Jun 08, 2012

answers.com says something different: http://wiki.answers.com/Q/What_is_a_method_in_programming_language

The WikiPedia article says "In object-oriented programming, a method is ..." thus, that is true if you are working in an OO language, but as you pointed out, Euphoria is not OO, thus I think the whole Wikipedia article does not apply and is narrow in its view.

However... we have routine_id() and other places we use the word routine. Keeping a set standard is a good idea.

2. Comment by jimcbrown Jun 08, 2012

Let's keep our options open.

Let's use routine.

3. Comment by euphoric Jun 08, 2012

Agreed. Make it so.

4. Comment by ne1uno Jun 08, 2012

routine is also a reserved word for possible future use. maybe method should be also?

routine  

5. Comment by Insolor Jun 14, 2012

So, what's the conclusion? Will this be leaved as is or changed?

6. Comment by DerekParnell Jun 14, 2012

It will be changed.

7. Comment by _tom Oct 23, 2012

I have edited the include files and documentation to mostly remove all uses of "method."

The word method is used often with the Euphoria Database System, and the routines involving statistics. The use of "method" in EDS is an old artifact. The word "method" seems to be idiomatic to statistics as a field.

The page with "builtinmethods" has been edited.

While Ticket 770 is fixed, it is easy for the word "method" to creep into the documentation.

Search



Quick Links

User menu

Not signed in.

Misc Menu