Blockchain CBDE Exam - Topic 3 Question 27 Discussion
Loops in Solidity:
B) are dangerous when used with data structures that grow, such as arrays or mapping, because it is hard to estimate the gas requirements.
A) are a great way to circumvent gas requirements, because a loop will only consume gas once.
C) should be avoided where possible, because of unknown side-effects on the gas requirements.
Tamera
7 months agoCoral
7 months agoTheron
8 months agoColette
8 months agoVeronika
8 months agoLindsey
8 months agoElza
8 months agoTamesha
8 months agoEdmond
8 months agoClaribel
8 months ago