A contrived example is used at developers/fundamentals/avm-concepts/initializable-fields/
I recommend that all examples be functional and informative. Contrived examples give the appearance that the documenter does not fully understand the value of the thing being demonstrated.
If you cannot find a real example to demonstrate the documented feature then REMOVE THE FEATURE!
Be creative! When I was writing the NatSpec documentation for Solidity, this was an excuse to go learn a little bit about botany. Software documentation exists to help our dear customers go build things that matter to them, not demonstrate our mastery of computer science concepts :-p
A contrived example is used at developers/fundamentals/avm-concepts/initializable-fields/
I recommend that all examples be functional and informative. Contrived examples give the appearance that the documenter does not fully understand the value of the thing being demonstrated.
If you cannot find a real example to demonstrate the documented feature then REMOVE THE FEATURE!
Be creative! When I was writing the NatSpec documentation for Solidity, this was an excuse to go learn a little bit about botany. Software documentation exists to help our dear customers go build things that matter to them, not demonstrate our mastery of computer science concepts :-p