Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nope, still means nothing too me. I'll just accept that how this bucket of words is supposed to form some cohesive methodology or pattern for anything is beyond my understanding. I'm sure some people get paid a lot of $ to implement it tho.


Simple Version. Before writing a function that reports how many of a certain thing has been "sold", make sure everybody involved agrees what "sold" means in this specific context and domain. And once you have agreed, make sure that every time a function, variable or database table talks about things "sold" it's using that definition.

How complex your methodology around this has to be depends entirely on how complex the domain is and how many different definitions of "sold" is used with different parts of that domain.


Ah, ya in our code no one can agree on what sold means so we just trial and error for which one seems to work in each circumstance. Or sometimes we need both so we'll have..

doStuff({soldFromSys1, soldFromSys2, soldType, price, priceType, priceTypeIdKey, customer})

¯\_(ツ)_/¯


What's so novel about this that deserve its own name and writing a book about this?


Because it's incredibly hard to do, and have some ideas to help.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: