Skip to content

Comment on Gavin King: Ceylon is no Java killerparent

Comments

I don't know what he means by it, but I'd make the same statement. If I did, I'd be referring to a number of things. First off, the basic Swing and AWT UI stuff all suffers from a number of issues, but core to the language is the way interfaces/anonymous inner classes proliferate necessarily. Core user-interface concepts like event dispatching/handling really benefit from language features built with them in mind. Portable functions on some level.. like C#'s delegates, or any of the closure proposals..

And then yeah, all of the alternatives.. defining UIs in XML, literally ANY of the Java web frameworks. They all suffer from core problems: Writing Java code can be frankly kinda slow and cumbersome compared to other (more dynamic) languages. That's a totally reasonable tradeoff for the benefits you get back when, say.. you're building out some business logic, or implementing a network protocol... but in the land of declarative user-interfaces (including web ones).. more often than not the frameworks mortgage away loads of the compile-time niceness without giving you the benefit of a dynamic language framework's velocity or brevity.

I do think writing user interfaces (of any kind) in Java pretty much sucks. I've thought for some time that the big win here would probably be to see more tools that allow you to write your presentation layer stuff in a dynamic language that runs on the JVM.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.