Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

divya pfp
divya
@divyav.eth
i read in one of the blogs on coding practices that it’s a good idea to always include units in variable names when they represent numbers. i don’t know, it just kinda stuck with me. for ex: instead of timeout = 10, use timeout_in_secs = 10.
2 replies
0 recast
4 reactions

draftcode pfp
draftcode
@draftcode
It’s just for legibility, don’t stress out
1 reply
0 recast
1 reaction

divya pfp
divya
@divyav.eth
no stress but i like my code to be readable :)
2 replies
0 recast
0 reaction

draftcode pfp
draftcode
@draftcode
you might know that not everyone thinks about what’s going next. way lot of code was written to be more then individual contributions, it’s just a spaghetti that not even the author understands later own.
1 reply
0 recast
0 reaction

divya pfp
divya
@divyav.eth
of course! but imo in some ways how you write code is built in you. you don’t need to consciously think about how you write readable code, you just do. i don’t recommend spending hours to just beautify though.
1 reply
0 recast
0 reaction

draftcode pfp
draftcode
@draftcode
sure, don’t layoff the beautify AI agents. put yourself self into the code review, make sure it’s a real review and iterative you’ll improve and growth faster
0 reply
0 recast
1 reaction