Ah right, YOLO! Different people, different points of view, all valid of course :)
The first point shows hundreds, maybe thousands of people will see what you left behind, be it code, art work etc, but you wouldn't have time to socialise, build a family and be truly missed by loved ones. The second point, you don't have much of a legacy but your family, friends will truly miss you and remember you. So, yeah, try to have both, or just one. It's up to you.