Andreas Vox <[EMAIL PROTECTED]> writes: >> 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.
If _that_ is you concern with the preprocessor the you have no concern. >> | automatic datatype conversion >> >> Ha. java does this as well. > | Not bool <-> int <-> pointer. Do you have explict pointers in Java? (except from NullPointerException. I always found this an oxymoron...) | What about this code: > | if ( 1 < x < 10 ) { | printf("yes"); | } | else { | printf("no"); | } > | a) Should it compile? we drunken head says yes. | b) What should it print for different values of x? "yes" all the time according to the same drunken head. (and I cannot really be bothered to test this.) >> | 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? You don't do that using bind, but using function, just as Angus suggested. >> >> | 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. Sure. But none of us ever use it. >> The only thing I miss from Java is the nice libraries (with the crappy >> api's) > | Ah, not all of them have crappy apis! :-) But most! Part of this is caused by (IMHO perhaps) not having free functions, and the horrible Object thingie. | 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. Generics are just a lousy excuse for templates. It seems that most Java programmers I have spoken with are pretty much disappointed with them. | P.S. What about a Java frontend to LyX for true platform independence? ha! (and it really is a pipe-dream) -- Lgb