News for hackers. Stuff that matters.
Re:Ask HN: How to become good at naming things in code? by thedevindevops on Saturday April 04, 2020 @04:51PM (#22781424)
If the name isn't obvious from it's function in the domain, there is something wrong with the architecture you're using
Re:Ask HN: How to become good at naming things in code? by dennisy on Sunday April 05, 2020 @04:56AM (#22784584)
Could you elaborate a little on this please, maybe with an example?
Re:Ask HN: How to become good at naming things in code? by itm on Sunday April 05, 2020 @05:09AM (#22784631)
I do agree with this. For example, if you can't easily name a function, then it is likely it does too many things and should be split or something.