Or it works till it doesn't. There is a lot of code that will work until some condition is met.
This ignores a bunch of higher level and long-term concepts like maintenance, complexity and extensibility.
With only "it works" you end up like this (iconic HN comment on Oracle codebase): https://news.ycombinator.com/item?id=18442637
Coding is easy, it works or doesn't.