• 0 Posts
  • 12 Comments
Joined 1Y ago
cake
Cake day: Jul 01, 2023

help-circle
rss

The answer, as with everything in software development, is that it depends.

A god method with 100 optional params that is usually bad practice. But a common pattern is to allow for an options object to be passed, and that object may contain 0-n supported parameters. This pattern is used everywhere, see graphql as a widely used library that is based on this.


One click install that provides regional VPN, multi-index torrent searching, scheduling, auto downloading based on simple criteria, and then file and metadata management.

I do all this now with various apps, but a single package that does everything that I could install on a new machine and start downloading immediately.

This is my dream app.


Exact same thing happened to me. Group project needed a programmer, I was a gamer with a nice computer so I volunteered. 15 years later and I’m a software engineer at a huge company.




Yea. I see a clickbait thumbnail like this and just scroll on.


  1. too early optimization
  2. optimization once performance bottlenecks are found
  3. TBD
  4. TBD

All jokes aside, I like the way this article breaks down types of optimizations. Especially the forth, as that tends to be the answer on occasion.


I’ve never heard of WET, but that is exactly the process I preach to my team. Refactor only once the same code block is used 3+ times as that tends to define a method that is a utility and not business logic specific.

This method has worked well in the past.


No one in this thread is trying to justify piracy. Everyone in this thread is rightfully saying that the comparison to theft is wrong.

That’s it.


Forgery would be the comparable crime. But it is definitely not stealing/theft.


It is absolutely not theft. If you’d like a physical crime to compare it to, forgery would be what you are looking for. But piracy is not at all theft.

That is, unless you are talking about Captain Davy Jones and his pirate ship. That type of piracy is theft.