home.social

#constructors — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #constructors, aggregated by home.social.

  1. @nebu how would you distinguish #constructors in #java if the fields had the same type? Anyway, the point was you can create your own constructor that copies all records but a ‘specified’ few. If you need 2^n permutations, then you mine as well use the full constructor every time.