I've been working in this company for about 8 months now and i'd like some advice how to tell my collegues that what they write is bad practice. Let me give a little introduction first.
The company im working at allows its customers to setup questionairres/surveys. The current code is about 5 years old (or older) and they've made a new platform which supports mobile devices. This platform is relatively new, but i've noticed something which i call 'bad practice':
They simply do not seperate code and html. Everything is dynamically build up using 1 single c# generaing class, which blurts out html, script tags, inline css "style='position: relative;'" and so on.
My main question is:
How do i convince my colleagues and especially my IT manager to keep these seperated.
It's bugging me a lot, but maybe i should just let it go. We simply do not have the resources for it and im probably not the person to make any calls about this. I just dont get how come the programmers who made this new 'platform' didnt think about this.
We also have lots of coding problems:
- Different versions of jquery and mootools are being used throughout our applications
- There's loads of duplicate code
- CSS files being included after each other have stuff like '!important' in them, and some are being overwritten with each include. For example: 'Master.css', 'another_file.css' both declare the exact same css rules.
Please help me out to convince my IT department theyre doing things too unorganized, write unmaintable code and simply have no standards anywhere without sounding like a whiner. Don't get me wrong, i love my job, but it's really working on my nerves. If things don't work they do a little dirty hack on a hack on a hack and things will get more messy by the day.