That's very short sighted and it depends on your goals. If you want a long term sustainable project, you're going to regret those choices later. I just left a company that was getting its butt handed to it by the competition because simple features took forever to implement because of bad architecture -- too much business logic in stored procedures, multiple teams sharing the same code base and git repo instead of properly segmented packages/micro services, no automated testing, and even worse no thought of how it would be tested.
Well written code doesn't take more time than poorly written code. Even if deadlines demand skipping unit tests, you can still write your code to be unit testable.
I'm the lead dev at the company I'm at now and basically have a clean slate and empty repo. I get to design code using best practices. I've already found that not taking shortcuts has allowed me to reuse code in a ways I never imagine.
I don't want to curse my 2017 self out in 2020 because of bad decisions I made.
True in 2020 I might look back on decisions I made in 2017 and kick myself, but I will have small focused microservices, decoupled classes, and a full suite of automated tests to allow me to refactor aggressively.
Even to the point if in 2020 I decide that one service should be rewritten in TrumpScript, I have automated Newman API tests that will allow me to rewrite the whole thing and have a level of confidence that it will work.
I get the chance to instill a culture of doing things right is more important than doing things fast.