Sjmarf to Programmer [email protected] • 2 months agoUnused variablesimagemessage-square48arrow-up1897arrow-down119
arrow-up1878arrow-down1imageUnused variablesSjmarf to Programmer [email protected] • 2 months agomessage-square48
minus-square@ShouldIHaveFunlink2•2 months agoI do actually use variables before I declare them most of the time. IDEs make it so easy to then generate the declaration with the correct type.
minus-square@[email protected]linkfedilinkEnglish1•2 months agoThat’s true, in fact I’ve started doing that myself. Same with methods, instead of going and writing the method and then coming back to use it, I’ll write the invocation first.
I do actually use variables before I declare them most of the time. IDEs make it so easy to then generate the declaration with the correct type.
That’s true, in fact I’ve started doing that myself. Same with methods, instead of going and writing the method and then coming back to use it, I’ll write the invocation first.