There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Dark_Arc ,
@Dark_Arc@social.packetloss.gg avatar

the Java language encourages it

It really doesn’t. Perhaps your teachers and workplace do out of some dated design ideals though.

Like everything else it was a fad and it’s got its time and place.

Yes it is. You’re adding and entire new function block for every single optional parameter. Add three more optional params and you’ve got a page of text to express a single line in other languages.

See my (late) edit (sorry things jump into my head sometimes … and forum software is inferior to chat software in adding that in a sensible way) about what the unobvious consequences of default arguments can be in some languages. Also, do you really write default arguments that often?

If you’re writing functions with tons of arguments that are all defaulted that should also be a red flag there’s probably a refactor that needs done to bundle that data.

Granted, the indirection that can cause in a language without value types (like Java) can be a burden in some very performance critical situations … but those are few and far between in practice.

Lmao, I’m mildly concerned that you don’t understand the concept of pseudo code.

Touche.

That’s awesome, it will be the first Java project I’ve encountered where that’s the case.

There are plenty of them out there… Maybe your code base too if you can figure out why you’re using so many of them. There’s really nothing profoundly unique about Java that predisposes it to needing large numbers of builders.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines