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
10 months agoCoral
10 months agoTheron
11 months agoColette
11 months agoVeronika
11 months agoLindsey
11 months agoElza
11 months agoTamesha
11 months agoEdmond
11 months agoClaribel
11 months ago