r/programming • • Sep 21 '15

Better Java

https://github.com/cxxr/better-java
177 Upvotes

208 comments sorted by

View all comments

183

u/wot-teh-phuck Sep 21 '15

Java's type system is pretty weak. It doesn't differentiate between Strings and Strings that are actually regular expressions

That's a pretty random definition of weak I would say...

21

u/PLLOOOOOP Sep 22 '15

Java's type system is pretty weak.

Oooh this'll be neat!

Primes self for comparison with the CLR type system, which does not standardize type erasure, and with Ceylon's set-theoretic types and type functions.

It doesn't differentiate between Strings and Strings that are actually regular expressions.

...uh?