Content
@
0 reply
0 recast
2 reactions
Paul Berg
@prberg
Random Solidity tip. Starting V0.8.22, it is no longer necessary to use the ugly "unchecked { ++i; }" syntax in for loops. The compiler will apply unchecked arithmetic by default.
4 replies
6 recasts
84 reactions
EOF
@eof
uint256 is redundant here though.
1 reply
0 recast
0 reaction
Amir Zero
@amir0.eth
Great 200 $DEGEN
0 reply
0 recast
1 reaction
yeet
@yigitduman
Good tip!
0 reply
0 recast
0 reaction
nx
@nxs
isn’t it dangerous to apply unchecked arithmetic by default?
1 reply
0 recast
0 reaction