in reply to Re: Does the size of a variable's name affect memory?
in thread Does the size of a variable's name affect memory?
Not to be rude, but no matter how large your program is getting, you have a design problem if you are having to use 30-50 character-length descriptive names for variables and subroutines. I'd go back and fix things up a bit. I have never come across a valid reason for needing to go past 20 characters per item. By using these ridiculously long identifiers, you are creating a maintenance nightmare; nobody else will even want to look at your code, never mind having to actually update the code.
# 49 characters? my deity, what could possibly be wrong # with this horrid picture? my $path_to_configuartion_file_for_apache_http_server = '/etc/httpd/co +nf/httpd.conf'; # 37 characters. just as bad as the 49 charaters above. sub get_the_path_for_apache_configuration { return "who cares?"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Does the size of a variable's name affect memory?
by tilly (Archbishop) on Feb 17, 2005 at 19:57 UTC | |
|
Re^3: Does the size of a variable's name affect memory?
by nmerriweather (Friar) on Feb 19, 2005 at 04:24 UTC |