3 ms·
Java designers chose the public method with the same name as the corresponding field policy as the preferred one (as per record’s design), this combined with th
by kaba0 5y ago
Java designers chose the public method with the same name as the corresponding field policy as the preferred one (as per record’s design), this combined with the coming syntax for “copy the object but changing these fields” will make java quite good to use imo.