minus-squareMetju@lemmy.worldtoProgramming@programming.dev•Naming: if you have to open the body, the name isn't donelinkfedilinkarrow-up8·19 days agoMe and a friend of mine had a common understanding of what we called “2 lines of defense aganinst F12”: First line: member signature (name, returned type, arguments). Second: documentation. If these 2 do not provide sufficient defense against anyone pressing F12 (Go To Definition in IntelliJ-based IDEs) - we have failed. It’s sometimes tough to come up with specific nouns, but it’s well worth the effort linkfedilink
Me and a friend of mine had a common understanding of what we called “2 lines of defense aganinst F12”:
If these 2 do not provide sufficient defense against anyone pressing F12 (Go To Definition in IntelliJ-based IDEs) - we have failed.
It’s sometimes tough to come up with specific nouns, but it’s well worth the effort