I haven't had a dog in a couple of years, and am just getting ready to bring a new puppy home in a couple of weeks.
Of course, dogs should be leashed in public!
Whether or not you get a dog of your own depends on what you expect from the experience and what you have to offer.
For many years, I lived out in the middle of nowhere on 5 acres. I always had 2-3 dogs. They were not well trained. They were house broken and I could get a collar and leash on them long enough to take them in for vaccinations. Other than that, they weren't trained. It was ok that I worked long hours. There was more than one of them to keep each other company, and plenty of room for them to play and get exercise. No walking necessary.
When I had to move to town, I moved into a place with a small yard. I found a home for my 100 lb lab; she needed more space, and it would have been unkind to leave her cooped up here by herself. I visit her regularly.
If this year ever ends, I'm bringing home a puppy. A smaller dog, donated by a friend who knew I missed my dog. A dog who will be fine in the smaller space, and whose temperment is calm. She will come housebroken. I will have to leash train her and take her for regular walks, as well as making sure she is well socialized. Dogs are pack animals; if there are no other dogs around, they need to be with people.