Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The one issue I wish they would address is how there is no clean interop between the new java style number types: Float, Double, Int and the CoreGraphics CGFloat et al. Doing

Double(thing.frame.size.height)

Is not /terrible/ but it sure could be cleaner to just pass it in as is and let the compiler make the assumption. Especially since the backing numerical value stays the same.



Its mostly because CGFloat can be of different sizes (float or double) depending on architecture, so can be assumed to be neither a double nor a float exclusively.




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

Search: