question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

👔 for Business Logic

See original GitHub issue

Hello @carloscuesta 😎!

  • Emoji: 👔
  • Code: :necktie:
  • Description: Add or update business logic and utility functions.

This could sound like a catch-all, but I specifically discern a difference between architecture (the structure of your application), features (code being introduced that users will see), and business logic (stateful or utility logic in your application that does some sort of computation or calculation for internal application purposes).

An example of business logic unrelated to performance or bug fixing would be adding a way to track when all downloads are completed. I don’t mean this in the sense of analytics, but potentially for some other process in the future that another developer will use.

This is how you differentiate a feature (something exposed to the user) and business logic (something exposed to developers).

Another example would be a utility function. If you’re writing utility functions, that can happen in separate commits from other developers consuming those functions.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
seancrowecommented, Aug 1, 2021

@Sawtaytoes I am going to make a pull request but I dropped “utility functions”. I think “utility functions” is a subset of business logic. So adding it seems odd, and then you will get people who want to add their own subsets of business logic. Like “Add or update business logic and utility functions and interfaces and… etc”. Better to just make it all under one label “business logic”.

See it looks so nice image

3reactions
coyotte508commented, Mar 26, 2021

Maybe this is something that is usually solved with scope?

✨ (back/api) Add new endpoint ✨ (back/utils) Add quick sort

From the scope we see if the module is intended for developers or not

Read more comments on GitHub >

github_iconTop Results From Across the Web

Business logic - Wikipedia
Prescribes how business objects interact with one another · Model real-life business objects (such as accounts, loans, itineraries, and inventories) · Workflows ...
Read more >
What is Business Logic? - API Mike
It describes processes for changing data from one to another. Data transactions are important in business logic as they can affect a company's...
Read more >
What The Heck Is Business Logic Anyway?
To avoid confounding the topic with software engineering jargon: Business logic constitutes the rules the business wants the software to obey.
Read more >
How accurate is "Business logic should be in a service, not in ...
My experiences and opinions say that any objects which have business logic should be part of the domain model. The data model should...
Read more >
Business Logic: Definition, Benefits, and Example - Investopedia
Business logic is the custom rules or algorithms that handle the exchange of information between a database and user interface.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found