SubtitleEdit/subtitleedit — pull request #287 by alfaproject (2014-09-29 18:03:40+00:00)
Title: Creation of a Tools namespace

I hereby suggest the creation of a proper Tools namespace. (I usually call this 'Core' in my projects, but any name is fine as long as we keep it short in my opinion)

The idea is that we have a set of core safe-to-use utilities that we can use across the project without being afraid of dead locks or race conditions, but mostly to keep our code organised, separated, and with as less dependencies as possible from other classes.

Ideally these utility classes would be short and to the point, so that they are easily testable and maintainable and not cause the IDE to drag, lol

@niksedk I already wanted to do this before as you've been noticing, but now the issue with the Utilities class being dependent on the application configuration to even be used triggered me to make this faster or else the code is going to be a bunch of spaghetti. ):

@XhmikosR your opinion is much appreciated as well.

If everyone agrees, I would move the File and Html utilities class that I made to this new namespace, and then we go from there.