Lars Gullik BjÃnnes <[EMAIL PROTECTED]> writes: > > Andreas Vox <[EMAIL PROTECTED]> writes: > > | I've been a happy Java Programmer for the last 7 years so I "missed" (*) > | all this new C++ stuff like templates, namespaces, exceptions and rtti. > > Just by looking at java I feel strait-jacketed. >
Can't expect a free climber to use a chairlift, eh? ;-) > | A decent language shouldn't have a preprocessor, pointer arithmetic, > > Then don't use them. And as you see in LyX we use these as little as > possible. Yes. Unfortunately one can't take the same approach for the preprocessor, at least for the include files. > > | automatic datatype conversion > > Ha. java does this as well. Not bool <-> int <-> pointer. What about this code: if ( 1 < x < 10 ) { printf("yes"); } else { printf("no"); } a) Should it compile? b) What should it print for different values of x? > | BTW, does anyone know the type of the expression > > > | bind(&Impl::finishedGenerating, this, _1, _2) > > > | where Impl is PreviewLoader::Impl ? > > Why would you need it? Declaring a function which takes it as an argument? > > | Ok, I better stop now. > > Loosing battle on this list. Well, at least most of the repliers shared my view that commutativity of array access is both insane and funny. > The only thing I miss from Java is the nice libraries (with the crappy > api's) Ah, not all of them have crappy apis! :-) The problem is that most things which were integrated into Java the first time were 10-20 years behind: AWT 1.0 api, first garbage collector algorithm (too slow), multithreading and synchronizing (even slower), JVM design, ... It's just now that the really top things pop up: Hotspot JVM, Generics, faster GC and sync algorithms. Cheers /Andreas P.S. What about a Java frontend to LyX for true platform independence?