Two brief thoughts on transactions:

  • Grouping them is convenient for user to be able to use CTRL+Z to reverse command changes.
  • I’ve found many comments online mentioning that reducing the number of transactions could improve performance.

In a previous post I wrote about how making the transactions happen in the methods can improve main code readability. Now I think it is also necessary to organize them in a way that doesn’t affect performance and to group them when necessary.