CamelCase? snake_case? Something else? And why?

  • Dreeg Ocedam@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    4 years ago

    Yeah, the best is when a language already has a standard formatting and that is used by every library. Good examples are Go and Rust which have an “official” formatting tool that is developed. So you can just stick to it and not think about it.

    Consistency is the most important part, the rest matters a lot less.