|
|
|
|
|
by JZN666
1669 days ago
|
|
> I see tons of functions named update_data and get_state and add_items in the business logic sections Maybe they're bounded by some clear context like class or module which serves specific set of tasks? Writing in well designed context MyPartOfSystem things like MyPartOfSystemUpdateData is another smellish side of naming I think. Or writing just long names that are used only in very short context (ex. variable "drivingLicenseCard" instead of "e", "entry" in "drivingLicenseCards.every((drivingLicenseCard) => drivingLicenseCard && checkSomehow(drivingLicenseCard))"). If they're not bound, then we have another source of spaghetti monster. |
|