I'm just going to write 'All of the above' and hope the grader is in a good mood. Navigating these Solidity patterns is like trying to solve a Rubik's Cube blindfolded.
C) you should follow the checks-effects-interactions pattern, which is only necessary when you do calls to contracts where a direct contract call is not possible.
I think Option C is the right answer. The checks-effects-interactions pattern is only necessary when you can't directly call the other contract. Otherwise, it's overkill.
C) you should follow the checks-effects-interactions pattern, which is only necessary when you do calls to contracts where a direct contract call is not possible.
C) you should follow the checks-effects-interactions pattern, which is only necessary when you do calls to contracts where a direct contract call is not possible.
I think both options have their merits, but I prefer following the checks-effects-interactions pattern, especially when direct contract calls are not possible.
Martha
29 days agoKimberlie
15 days agoTasia
1 months agoAhmed
2 days agoElmer
4 days agoMartha
5 days agoCallie
5 days agoRoslyn
2 months agoGladys
11 days agoLuann
14 days agoClaudia
1 months agoClorinda
2 months agoTarra
5 days agoCamellia
23 days agoLashawn
1 months agoDerrick
1 months agoMargart
2 months agoMitzie
2 months agoRenea
2 months agoPercy
2 months agoKaitlyn
24 days agoDevon
1 months agoPolly
2 months agoVeta
2 months agoDick
2 months agoTayna
2 months ago