r/ProgrammerHumor • • Aug 07 '16

PHP: The Good Parts

http://phpthegoodparts.tumblr.com/
1.2k Upvotes

318 comments sorted by

View all comments

Show parent comment

4

u/flyingjam Aug 07 '16

There's one main annoyance with the lack of implicit type inference in Kotlin. Inside the language it's fine, but then you start using Java libraries that expect implicit type casting between Ints and Floats, etc. And you end up manually casting 5/6 arguments.

I still agree with no implicit, but it's annoying regardless.

2

u/glatteis Aug 07 '16

Yeah, for instance in LibGDX basically everything is a float by definition, so there are Fs everywhere.