Re: Source changes

new topic     » goto parent     » topic index » view thread      » older message » newer message

I welcome the proposed routines as I regularly use similar ones. 
The only thing I am opposed to is the CamelCase routine names.
Euphoria (in general) doesn't use it. See:

-- find_from
-- match_from
-- custom_sort


I would suggest to use 

to_int(sequence TextIn)
to_number(sequence TextIn)
to_digits(sequence TextIn)
to_base(sequence TextIn, integer Base)                                       --
integer or atom as appropriate,
-- etc.
}}}
<eucode>

At the same time I am aware of the Win32lib routine names 
and the different preferences of the programmers. (See the 
"Aesthetically pleasing identifier names" discussion in this
list.) And obviously it's up to you... smile

Could you write a few more words about the following ones? 
The most problems I have with these conversions. (Specially 
the lack of date and time functions.)

}}}
<eucode>
DateFormat(sequence Data, sequence Format)
TimeFormat(atom Data, sequence Format)
CurrencyFormat (atom Data)


Rgds,

Salix

P.S.: Whops. I mean these ones. blink

date_format(sequence Data, sequence Format)
time_format(atom Data, sequence Format)
curr_format (atom Data)


new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu