4 ms·
Can Java steal top-level functions already?
by yen223 4y ago
Can Java steal top-level functions already?
- pulse7 4y agoJust use static methods for that. Disadvantage: you are forced to use package and class name spaces. Advantage: everything is inside some namespace.
- jrpelkonen 4y agoAgreed. I also find static imports handy to simplify the code at the call site.