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
7858
@7858.eth
Let’s be serious here
1 reply
0 recast
2 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
jj 🛟
@jj
You use typescript so that you can fix typing and build errors
0 reply
0 recast
0 reaction