I recently started a new job. We use Java. There’s a class that does a few things based on explicit arguments only to decide whether to use an FTP or file output, and you supply all parameters yourself. A whole ass Rube Goldberg machine that could be replaced by a single line of Files.writeString.
I recently started a new job. We use Java. There’s a class that does a few things based on explicit arguments only to decide whether to use an FTP or file output, and you supply all parameters yourself. A whole ass Rube Goldberg machine that could be replaced by a single line of Files.writeString.
Also, there’s a great video on YT “Stop writing classes” that is incredibly relevant.
This hits.
I stepped into a similar implementation. Took like 6 months and 10 people to support…
… changing the URL of the sftp server we connected to.