What is the best way to know what should your method name be when developing a web app? I know this is an easy question, but seriously what considerations and practices should I be doing in order to derive the best names possible for my methods?
Asked
Active
Viewed 33 times
0
-
2It's not an easy question -- the two hardest things in computer science are naming things, cache invalidation, and off-by-one errors. – Alex Howansky May 12 '17 at 14:27
-
@MarkBaker ha ha – Alex Howansky May 12 '17 at 14:27
-
php-fig.org maybe a good suggestion – hassan May 12 '17 at 14:27
-
name the functions so you know what they do without reading function documention – Raymond Nijland May 12 '17 at 14:29
-
You might get some insights from this lecture: https://vimeo.com/13702091 – tereško May 12 '17 at 14:52