"Memorera det bara" är ett mycket underskattat råd. Här är några saker som jag får mina elever i Solidity bootcamp att memorera: - Vilket är det största värdet som ett n-bitars heltal utan tecken kan ha? - Vilka situationer leder till att ett lågnivåsamtal returnerar falskt? - vad är funktionssignaturen för varje enskild funktion i ERC-20? - Utför en inflationsattack från minnet - recitera de nödvändiga tillståndsförändrande funktionerna hos ett (utlånings-/bytes-) DeFi-protokoll - Hur mycket gas kostar det att initiera en lagringsvariabel? Om den typen av saker inte är en självklarhet för dig kommer du att bli riktigt långsammare när du försöker förstå komplexa system eftersom det slutar med att du utkämpar två strider samtidigt. Detta är något som jag önskar att jag hade listat ut tidigare.
Justin Skycak
Justin Skycak27 aug. 2025
If you want to actually retain information you consume, you gotta practice retrieving it from memory, not just re-consuming it. You have retained information if and only if you can regenerate it from memory. So naturally that is the exercise that must be practiced. Yes, it is also helpful to make connections between isolated pieces of information. Yes, those connections are themselves information. Yes, if you want to retain the connections, then you have to exercise their retrieval, not just re-consume them from an external source. Yes, this also applies to connections between connections. Yes, this also applies to skills, concepts, procedures, applications, etc. If you want to be able to generate it from your head, then you gotta practice generating it from your head.
8,81K