October 15, 2004 Re: Auto-Boxing | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | On Sat, 16 Oct 2004 07:12:18 +1000, Matthew wrote: > "Anders F Björklund" <afb@algonet.se> wrote in message news:ckp37m$2clu$2@digitaldaemon.com... >> Stewart Gordon wrote: >> >>> OTOH, Java allows primitive types to be template parameters, and so chances are we don't really need wrapper classes. >> >> I think you meant "D" instead of Java here ? If you did, I agree :-) Wrapper classes are evil. Especially when used for things like String. > > IMO, Walter's single greatest point of genius vision was in the definition of slices. > > As with so many other things from D, I'm busy at the moment implementing slices for C++. Without garbage collection it is, as you can imagine, somewhat more difficult than it is in D. > > :-) Ummm... slices are not new. Euphoria has had them since 1993. -- Derek Melbourne, Australia |
October 16, 2004 Re: Auto-Boxing | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek | "Derek" <derek@psyc.ward> wrote in message news:1de5brneaifqv.1h59yjmxgfd11$.dlg@40tude.net... > On Sat, 16 Oct 2004 07:12:18 +1000, Matthew wrote: > > > "Anders F Björklund" <afb@algonet.se> wrote in message news:ckp37m$2clu$2@digitaldaemon.com... > >> Stewart Gordon wrote: > >> > >>> OTOH, Java allows primitive types to be template parameters, and so chances are we don't really need wrapper classes. > >> > >> I think you meant "D" instead of Java here ? If you did, I agree :-) > >> Wrapper classes are evil. Especially when used for things like String. > > > > IMO, Walter's single greatest point of genius vision was in the definition of slices. > > > > As with so many other things from D, I'm busy at the moment implementing slices for C++. Without garbage collection it > > is, as you can imagine, somewhat more difficult than it is in D. > > > > :-) > > Ummm... slices are not new. Euphoria has had them since 1993. Thanks, but I didn't say they were. :-) |
October 16, 2004 Re: Auto-Boxing | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | On Sat, 16 Oct 2004 20:08:30 +1000, Matthew wrote: > "Derek" <derek@psyc.ward> wrote in message news:1de5brneaifqv.1h59yjmxgfd11$.dlg@40tude.net... >> On Sat, 16 Oct 2004 07:12:18 +1000, Matthew wrote: >> >>> "Anders F Björklund" <afb@algonet.se> wrote in message > news:ckp37m$2clu$2@digitaldaemon.com... >>>> Stewart Gordon wrote: >>>> >>>>> OTOH, Java allows primitive types to be template parameters, and > so chances are we don't really need wrapper classes. >>>> >>>> I think you meant "D" instead of Java here ? If you did, I agree > :-) >>>> Wrapper classes are evil. Especially when used for things like > String. >>> >>> IMO, Walter's single greatest point of genius vision was in the > definition of slices. >>> >>> As with so many other things from D, I'm busy at the moment > implementing slices for C++. Without garbage collection it >>> is, as you can imagine, somewhat more difficult than it is in D. >>> >>> :-) >> >> Ummm... slices are not new. Euphoria has had them since 1993. > > Thanks, but I didn't say they were. :-) Sorry. I misunderstand you then. Your phrase "Walter's single greatest point of genius vision was in the definition of slices" sounds to me as if it was saying that Walter was the person the defined what slices were. -- Derek Melbourne, Australia |
October 17, 2004 Re: Auto-Boxing | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek | "Derek" <derek@psyc.ward> wrote in message news:1n43gmo4ws1da$.14h8ff6hyyiyp$.dlg@40tude.net... > On Sat, 16 Oct 2004 20:08:30 +1000, Matthew wrote: > >> "Derek" <derek@psyc.ward> wrote in message news:1de5brneaifqv.1h59yjmxgfd11$.dlg@40tude.net... >>> On Sat, 16 Oct 2004 07:12:18 +1000, Matthew wrote: >>> >>>> "Anders F Björklund" <afb@algonet.se> wrote in message >> news:ckp37m$2clu$2@digitaldaemon.com... >>>>> Stewart Gordon wrote: >>>>> >>>>>> OTOH, Java allows primitive types to be template parameters, and >> so chances are we don't really need wrapper classes. >>>>> >>>>> I think you meant "D" instead of Java here ? If you did, I agree >> :-) >>>>> Wrapper classes are evil. Especially when used for things like >> String. >>>> >>>> IMO, Walter's single greatest point of genius vision was in the >> definition of slices. >>>> >>>> As with so many other things from D, I'm busy at the moment >> implementing slices for C++. Without garbage collection it >>>> is, as you can imagine, somewhat more difficult than it is in D. >>>> >>>> :-) >>> >>> Ummm... slices are not new. Euphoria has had them since 1993. >> >> Thanks, but I didn't say they were. :-) > > Sorry. I misunderstand you then. Your phrase "Walter's single greatest point of genius vision was in the definition of slices" sounds to me as if it was saying that Walter was the person the defined what slices were. No worries. :) |
October 18, 2004 Re: Auto-Boxing | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek | Derek wrote: > On Sat, 16 Oct 2004 07:12:18 +1000, Matthew wrote: > >> "Anders F Björklund" <afb@algonet.se> wrote in message news:ckp37m$2clu$2@digitaldaemon.com... >> >>> Stewart Gordon wrote: >>> >>>> OTOH, Java allows primitive types to be template parameters, and so chances are we don't really need wrapper classes. >>> >>> I think you meant "D" instead of Java here ? If you did, I agree :-) Wrapper classes are evil. Especially when used for things like String. Oops ... should've caught that silly little typo before I pressed Send. <snip> > Ummm... slices are not new. Euphoria has had them since 1993. Fortran 90 has slices - I'm not sure about F77. Just about every BASIC ever invented has string slices at least. Stewart. |
Copyright © 1999-2021 by the D Language Foundation