Hacker News new | ask | show | jobs
by LoSboccacc 3838 days ago
I agree on types and functional implementation being sucky, but simpler datatype are definitely in, just need some imagination

a struct, by any other name:

public class Point {

   public int x,y;
}

you can even do binary packed stuff with some fantasy

public class PackedRGBA{

   private long v;

   //following getters and setter bit shifting

}