You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having Get and Set in function/method names are far from idiomatic. Not causing any issues, but not nice (like GetReadSession or GetWriteSession).
The code should be refactored in a way to have Getonly in resource-related function/method names, like GetAll or GetAllBelongsTo, but not other methods.
Example Use-cases
As someone who maintains the code, I want to have a pleasant feeling looking at it.
Drawbacks
NA
The text was updated successfully, but these errors were encountered:
Summary
Having
Get
andSet
in function/method names are far from idiomatic. Not causing any issues, but not nice (likeGetReadSession
orGetWriteSession
).The code should be refactored in a way to have
Get
only in resource-related function/method names, likeGetAll
orGetAllBelongsTo
, but not other methods.Example Use-cases
As someone who maintains the code, I want to have a pleasant feeling looking at it.
Drawbacks
NA
The text was updated successfully, but these errors were encountered: