That's true, smoking in front of kids because that its not teaching them a good habit, yeah, parents don't have to be perfect but they should be aware of some things that are not good to display, especially in front of their kids, as it will harm both their future and their health, as they might grow up thinking everything is just right and good, this will make them to hardly listen to advice that will help them, as they will think everything they are doing are right and also as they might be being seeing their parents doing that without any sign of remorse.
You can't be smoking in front of your kids and expect them to be brought up with good characters. As a parent we are not perfect no one argued about it, but they are things we need to hide from our children. we're our own children first teachers we need to teach them what is right before societies destroy them for us. Children learn by what they see, everything they see that parents are doing either it's been good or bad, they are thinking it's right because if it is wrong we as a parent we will never do it that's what they think of us as a parent. If your children keep seeing you smoking in front of them and you don't care they will think it's okay and it's will affect their health wise.
I also disagree with smoking in front of children and they tend to copy what they see. But if they grow up with bad habit and poor character, it is mostly a reflection of how they were raised and educated.
We can choose not to smoke in front of them, but we cannot stop other people from doing it. Therefore, it is more important to teach children to distinguish right from wrong and understand that not all adult behavior is worth copying.
Many of my friend smoke, and I cannot politely ask them not to smoke every time my children are around. So, I teach my children to stay away from place where people are smoking.