CamelCase? snake_case? Something else? And why?

  • @glennsl@lemmy.ml
    link
    fedilink
    53 years ago

    I think dashed-case is superior in just about every way, but unfortunately only supported in very few languages. Of those supported in most programming languages I find snake_case to be most readable. A little bit awkward to type, but I think that trade-off is more than wroth it.

    It really doesn’t matter all that much as long as it’s consistently applied across the ecosystem though.