justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Any tips on code refactoring? I'm always afraid of breaking sth. Do you use test automation?
Asked by Murgh (188.20.86.x) on February 18 2014, 5:09pm
Reply on February 20 2014, 4:36pm:
    If you can break it into smaller steps and keep them around as separate commits, that's good. Also, if you can leverage the compiler to catch mistakes (i.e. if changing the meaning of a variable, change its name too so that you have to manually check every use of it) that's good. And of course, test early and test often.

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS