I admit it sounds a bit ludicrous, but right now I miss an source code aware sort function in my IDE. If you start maintaining large files with loads of structures or functions you often end up paging up/down looking for them – to reduce this time I start sorting them in alphabetic order.
enum vm_OpCode
{
Op_Assign=1,
Op_Call=2,
Op_Commit=3,
Op_End=4,
Op_Exit=5,
Op_For=6,
Op_If=7,
Op_NOP =8,
Op_On=9,
Op_Raise=10,
Op_Rollback=11,
Op_Spawn=12,
Op_State=13,
Op_Switch=14,
Op_Transaction=15,
Op_Update=16,
Op_While=17,
};
The struct above is another example – I sorted it to easier keep things synchronized – doing so is actually an increase in quality because it means the developer uses less time looking for things and get a better overview faster – each of these also have structs, execute functions etc.