Softwareengineering: Should I expose a "computed" value as a property or a method?

Subscribers:
4,440
Published on ● Video Link: https://www.youtube.com/watch?v=EA-qlVwAf4k



Duration: 0:00
0 views
0


Should I expose a "computed" value as a property or a method?
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!

(softwareengineering.stackexchange.com/users/80895/charles-wesley)Charles Wesley
(softwareengineering.stackexchange.com/users/6505/eric-lippert)Eric Lippert
(softwareengineering.stackexchange.com/users/1204/robert-harvey)Robert Harvey
A special thanks goes out to the (softwareengineering.stackexchange.com/questions/233210/should-i-expose-a-computed-value-as-a-property-or-a-method)Stackexchange community

I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de

properties design-patterns methods class-design c#




Other Videos By Peter Schneider


2025-05-12Tex: Tabularray Align SetCell Vertically
2025-05-12Tex: How to draw two covalent bonds along with one dative bond between the same atoms in chemfig?
2025-05-12Mathematica: Make text white in ReverseColor format?
2025-05-12How to concatenate n rows of content, to current row, in a rolling window, in pandas?
2025-05-12Warning messages with plotting density lines on top of histrogram in R
2025-05-12Ethereum: How can I get Sepolia ETH without holding 1 LINK on Ethereum Mainnet?
2025-05-12Tex: Label positions in tikz
2025-05-12How to disable scrolling temporarily?
2025-05-12Selenium 4.25 opens Chrome 136 with existing profile to "New Tab" instead of navigating with driv...
2025-05-12Drupal: Is there a GUI way to change field labels on the build-in contact form?
2025-05-11Softwareengineering: Should I expose a "computed" value as a property or a method?
2025-05-10Security: Could the Stack Overflow Dance Dance Authentication April Fool's joke actually work in ...
2025-05-10What are the benefits of a high TTL for DNS?
2025-05-10Apple: Add script to Finder’s Quick Actions menu
2025-05-10Security: Recovery of EEPROM data after bulk erase operation
2025-05-10Softwareengineering: Best practices for unit testing methods that use cache heavily?
2025-05-10Electronics: Is this reverse polarity protection circuit correct?
2025-05-10Blocking the Apple OS X App Store
2025-05-10Softwareengineering: Why don't languages use explicit fall-through on switch statements?
2025-05-10Mathematica: FindRoot in FindFit
2025-05-10yum client doesn't see new packages though server is updated