ms-structural / ms-structural/femdesign-api

styling void methods / static properties

Open
#706 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority:unset type:refactoring
Dominant language
C#
Stars
51
Forks
29
PR merge metrics
No merged PRs in 30d

Description

not sure of context so I might be mistaken here.

but i would prefer .GetDefault() if a method. Even better would be a static property .Default.

Originally posted by @andosca in https://github.com/strusoft/femdesign-api/issues/705#issuecomment-1427705873

Make sure void methods have "verb" naming. If applicable replace with static property.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Review the API for void methods and static members, first locating the affected declarations; done means applying verb naming to void methods and replacing suitable methods with static properties, with the scope confirmed from the surrounding API design.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.