emo.eth
@emo.eth
i hate writing typescript tests for smart contracts (solidity & rust) bc getting type safety to work is always annoying, so most people don't bother few things as defeating as copying test boilerplate from some other repo, fixing the imports, and then seeing absolutely 0 ide errors why even use typescript??
3 replies
0 recast
8 reactions
Mikko
@moo
Python for smart contract testing is a breeze. Also I do not understand people who try to do testing in Solidity: Solidity is not a general purpose programming language and using vm.prank() etc. escape hatches and thousands of muti-inherited contracts make tests hard to read and maintain mess.
1 reply
0 recast
0 reaction
emo.eth
@emo.eth
cheat codes are op and infinitely more intuitive than manipulating some context object in a foreign language; skill issue but yeah inheritance is for the weak
0 reply
0 recast
0 reaction