I've never encountered a well written business layer. Any advice?

后端 未结 9 1733
Happy的楠姐
Happy的楠姐 2021-02-02 00:54

I look around and see some great snippets of code for defining rules, validation, business objects (entities) and the like, but I have to admit to having never seen a great and

9条回答
  •  旧时难觅i
    2021-02-02 01:29

    I imagine this is because business logic, as a general rule, is arbitrary and nasty. Garbage in, garbage out.

    Also, most of the really good business layers are most probably proprietary. ;-)

提交回复
热议问题