News for hackers. Stuff that matters.
Re:It Takes 6 Days to Change 1 Line of Code (2015) by zepolen on Tuesday December 06, 2016 @09:05PM (#13119943)
Then it becomes a function:

  kNaverUrl('index.html')
Multiple functions:

  kNaverWwwUrl('index.html')
  kNaverApiUrl('resource')
Then it get's refactored:

  urlGenerator('www.naver.com')('index.html')
  urlGenerator('api.naver.com')('resource')
Refactored even more:

  urlFor('naver_www', 'index.html')   
  urlFor('naver_api', 'resource') 
Even more!

  urlGeneratorFactoryFactory(.......

There are no comments on this comment yet.