Hacker News new | past | comments | ask | show | jobs | submit login

So given

  int something() { }
  String something() { }
A hypothetical calling syntax could be

  (int)something();
Or the compiler could even choose one for you with a warning. Seems like a good suggestion for Java 10.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: