API Naming Help! RRS feed

  • Question

  • User-1188570427 posted

    What is a good API name for all base items.

    Example: security / email / base items that ALL apis within our application use.

    I would say Core, but we refer to the modules of our application as core. So I think that would confuse everyone.

    Saturday, February 15, 2020 10:18 PM


  • User281315223 posted

    Firstly, naming is hard, but one of the most important things to remember is that ... you can always change the name. I've seen a variety of different patterns through the years. Obviously, "Core" is a very popular one and it makes sense if it consists of things that are "core" to your overall application and will likely be reused in many areas. A few choices for these have been:

    • Core
    • Library
    • Common
    • Shared

    I'm always fond of making these as granular as it makes sense. I'd rather have a larger number of more specific, well-defined assemblies / projects than a handful where you end up pulling the world in just for a single use-case / class / method.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, February 16, 2020 3:22 AM