Bio
Gavin King is a Distinguished Engineer at Red Hat. He's the creator of Hibernate, a popular persistence solution for Java and of the Ceylon programming language. He contributed to the Java Community Process as JBoss and then Red Hat representative for the EJB and JPA specifications and as spec lead and author of the CDI specification. He's currently a major contributor to the design of Jakarta Data and Jakarta Persistence. He lives in Barcelona with his wife and three daughters. His active interests include theoretical physics and quantum technologies.
Tags
Authors
In Introduction to Ceylon Part 8 we discussed Ceylon's support for defining higher order functions, in particular the two different ways to represent the type of a parameter which accepts a reference to a function. The following declarations are essentially equivalent:
Union types as checked exceptions
We've talked quite a lot about union types, and even seen some of their many applications, but one thing I didn't mention is that they can be used as a kind of checked exception facility. Consider the following method declaration:
Shortcut "data" classes?
In Ceylon, the following class has an initializer with two locals:
Introduction to Ceylon Part 11
This is the eleventh installment in a series of articles introducing the Ceylon language. Note that some features of the language may change before the final release.
Introduction to Ceylon Part 10
This is the tenth installment in a series of articles introducing the Ceylon language. Note that some features of the language may change before the final release.
Introduction to Ceylon Part 9
This is the ninth installment in a series of articles introducing the Ceylon language. Note that some features of the language may change before the final release.
Introduction to Ceylon Part 8
This is the eighth installment in a series of articles introducing the Ceylon language. Note that some features of the language may change before the final release.
Is the Ceylon type system sound?
So I've been reading some folks demanding that work on Ceylon start with a formal proof of the soundness of the type system. And calling me all sorts of names because I don't have one yet. I'm a bit bemused by this, since it's the first time in history that this has been demanded of a language designed for use in practical computing :-)
Introduction to Ceylon Part 7
This is the seventh installment in a series of articles introducing the Ceylon language. Note that some features of the language may change before the final release.
Introduction to Ceylon Part 6
This is the sixth installment in a series of articles introducing the Ceylon language. Note that some features of the language may change before the final release.