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: Hi Justin. Two or more duplicated lines and I will usually make it a function. What are your thoughts on code duplication?
Asked by provoc (118.209.246.x) on June 4 2018, 3:01pm
Reply on June 4 2018, 7:25pm:
    I think that's a bit premature, but a dozen lines seems about right. Having said that, I'm very guilty of letting functions get huge.

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

    Comment:    

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