It takes a lot of guts for people to confront someone at workplace without burning bridges as you never know when the other person is offended by a remark or a statement passed by you. One should always leave some space and room to either continue working in that particular place or maintain a friendly environment while working.
It is often quite easy for people to hand in their resignation and pass on demeaning remarks about their employers. However, at the same time, handing in a resignation with something nice and interesting to say about the employer is going to develop a lifelong relation. One can easily leave some room behind that can be used when they are in dire need of a job.
The best way to avoid any messy confrontations is to make sure that you are not taking everything personally. If someone passes a remark on the work or assignment executed then take it as point that should push you further to do better. There are going to be numerous times in life where people will bring your down so taking everything personally is going to end you nowhere.
Always remember that a person is known by the selection of words he uses to describe someone he knows. Try to refrain from badmouthing as much as you can. Once someone finds out about the remarks you passed on them then it is going to create a mess for you. People will always remember you by the bad thing you did rather than the good thing. Focus on positives and everything is going to be in your favor.
Furthermore, one should always keep in mind that they can come across their colleagues later on in life in some other institute. If you end things on a bad note then it is going to create a negative space between you two that might have an impact on your current employment as well. It is always better to end things on a good note, as you never know when you need their help and assistance in future.
Every job should be left in such a manner that the employees and the employers always give a positive reference to the people who inquire about you. Always conduct yourself in a professional manner. People in the market should know you for your professionalism rather than for unprofessionalism.