If you only show up when you want something, people will catch on. If you only learn the minimum amount necessary to get over the next hurdle, you'll fall behind.
If short term choices leave you focused on the urgent, you'll almost never get around to doing the important. A flustered programmer who grabs some online code for a short term fix with no real understanding of its impact or inner workings will be in the same chaotic state at some point in the future.
So make sure you do more than the minimum if you truly want to succeed.