Re: . or : for namespace?

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

c.k.lester wrote:
> 
> I really don't care if the dot is adopted for namespacing or not. I'm voting
> my preference so that should I ever need it, I can use the friendly
> neighborhood
> dot.

You will start to use it in the new standard library, for instance:

include datetime.e as dt
include map.e as map

datetime dt1
dt1 = dt.now()
? dt.dow(dt1)
dt1 = dt.add(dt1, 55, DAYS)

map.map m
m = map.new()
m = map.put(m, "name", "C.K. Lester")
m = map.put(m, "favorite", ". namespace delimiter")
? map.get(m, "name")


--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu