Different people code for different reasons.
For some the "point" is just solving a problem, however that happens.
For others it's an art form that gives them a sense of worth, using their knowledge and experience to do something special that not just anyone can do.
Neither is right or wrong; people just have different goals.