Amethyst Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
vrek@programming.dev to Programming@programming.devEnglish · 1 year ago

Does C# (or any other languages) have an official style guide like python has pep8?

message-square
message-square
2
fedilink
0
message-square

Does C# (or any other languages) have an official style guide like python has pep8?

vrek@programming.dev to Programming@programming.devEnglish · 1 year ago
message-square
2
fedilink
  • v0rld@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Since you specifically mentioned C# : https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions

    I’d be surprised if there is a serious language that doesn’t come with at least some semi-official style guide. But usually they are not universally followed and everybody just does their own thing.

    • atheken@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Just to add, I’d argue dotnet has one of the best sets of guidance on style. It goes beyond just naming and towards how to structure code for easier consumption and consistency. People love to dump on MSFT, but the dotnet platform is superb.

      https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 455 users / day
  • 2.03K users / week
  • 3.58K users / month
  • 6.07K users / 6 months
  • 1 local subscriber
  • 20.3K subscribers
  • 409 Posts
  • 4.16K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • UlrikHD@programming.dev
  • BE: 0.19.10
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org