Whenever the legislature attempts to regulate differences between masters and their workmen, its counsellors are always the masters. When the regulation, therefore, is in favor of the workmen, it is always just and equitable; but it is sometimes otherwise when in favor of the masters.