LWN.net Logo

PHP: a fractal of bad design (fuzzy notepad)

PHP: a fractal of bad design (fuzzy notepad)

Posted Apr 18, 2012 11:34 UTC (Wed) by robert_s (subscriber, #42402)
In reply to: PHP: a fractal of bad design (fuzzy notepad) by slashdot
Parent article: PHP: a fractal of bad design (fuzzy notepad)

Stop. If you think Java is a good language something is going very wrong with your life.


(Log in to post comments)

PHP: a fractal of bad design (fuzzy notepad)

Posted Apr 18, 2012 18:07 UTC (Wed) by juliank (subscriber, #45896) [Link]

What's the problem with the Java language?

* Syntax?
* Semantics?
* Standard APIs?
* The virtual machine?

PHP: a fractal of bad design (fuzzy notepad)

Posted Apr 20, 2012 23:10 UTC (Fri) by mathstuf (subscriber, #69389) [Link]

After an attempt at doing some Android development, the main things that bugged me (in no particular order). I do not claim to have a high familiarity with Java, but these things didn't have obvious solutions.

- Eclipse (Using it from vim via eclim is…bearable; I haven't been able to get gvim embedded at all)
- No typedef mechanism
- Excessively wordy API symbols
- One-class-per-file restriction
- Functions aren't first-class types
- as{Int,Double} Cursor methods (Just store the actual type; the DB already knows this (or should…)!)

That said, some things that Java does right:

- I wish final was in C++ (const doesn't really work for vectors unless you required C++11)

PHP: a fractal of bad design (fuzzy notepad)

Posted Apr 20, 2012 23:16 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link]

Try IntelliJ IDEA. It's so much better than Eclipse and has VI emulation (IdeaVIM plugin). The community version of IDEA (it's OpenSource under GPL) is more than enough for Android devel.

Aaand, IDEA developers are now creating a very nice language - Kotlin, which is compatible with Java and works fine on Android. And unlike most of other JVM-based langs it has splendid IDE support from the start (it was developed as IDEA plugin at first).

PHP: a fractal of bad design (fuzzy notepad)

Posted Apr 22, 2012 2:35 UTC (Sun) by mathstuf (subscriber, #69389) [Link]

It's packaged for Fedora, but seems to be languishing[1] :/ . As for Kotlin, I'm a big fan of explicit nullables.

[1]http://koji.fedoraproject.org/koji/packageinfo?packageID=...

PHP: a fractal of bad design (fuzzy notepad)

Posted Apr 22, 2012 2:48 UTC (Sun) by Cyberax (✭ supporter ✭, #52523) [Link]

Just download it from their site. It's not hard to setup (just un-tar it and run idea.sh).

Yeah, I really like the explicit nullable ('Maybe' monad from Haskell!), it's much nicer to use than Scala's clusterf#$k with Options. Besides, Kotlin developers are now busy annotating the standard library with nullables.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds