WAMP/LINUX/Development Rant
Moderator: General Moderators
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
WAMP/LINUX/Development Rant
man, i have always prefered to develop on my WAMP server because it's so much faster and i can develop thing alot quicker. then i move it to the *nix server and BAM! tns of errors.
most of the errors are related to the fact that *nix servers are actually case sensitive when reading files.
ThisIsAClass.class.php is different from Thisisaclass.class.php
ugh. that's killing me. i do the different caps just because i can read them better and i use long names to make it easier to know where goes where and what does what. same with my variables. since i'm the one coding everything is long andcamel humped.
oh. not to mention you get the stupid little errors here and there.
i wish i could turn that off. honestly
</rant>
most of the errors are related to the fact that *nix servers are actually case sensitive when reading files.
ThisIsAClass.class.php is different from Thisisaclass.class.php
ugh. that's killing me. i do the different caps just because i can read them better and i use long names to make it easier to know where goes where and what does what. same with my variables. since i'm the one coding everything is long andcamel humped.
oh. not to mention you get the stupid little errors here and there.
i wish i could turn that off. honestly
</rant>
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
*whine*Everah wrote:Just another difference between Windows and *nix. You get used to it, trust me.
but i don't wannaaaaa!!!!
i already know the issue. it just throws me off when it happens and i usualy do a quick freak out and go "oh, dumbass". then i go ahead and fix it usually.
not today tho. i'm really tired
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
- AKA Panama Jack
- Forum Regular
- Posts: 878
- Joined: Mon Nov 14, 2005 4:21 pm
Re: WAMP/LINUX/Development Rant
That is a GOOD thing and windows really should have been doing that from the start. It is sloppy programming to use different case on letters for filenames like above.MrPotatoes wrote:ThisIsAClass.class.php is different from Thisisaclass.class.php
ugh. that's killing me. i do the different caps just because i can read them better and i use long names to make it easier to know where goes where and what does what. same with my variables. since i'm the one coding everything is long andcamel humped.
Yes, I know you can use different case on function names in PHP and I feel that is sloppy as well. If you use ThisIsMyCode in one spot (filename, class name, function name, variable name, etc) then you should use the SAME case every single time you use it otherwise you are just being sloppy. And we all know how sloppy Windows coding can be.
Last edited by AKA Panama Jack on Wed Nov 15, 2006 1:06 pm, edited 2 times in total.
- AKA Panama Jack
- Forum Regular
- Posts: 878
- Joined: Mon Nov 14, 2005 4:21 pm
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
Re: WAMP/LINUX/Development Rant
everything is cased the same within code for meAKA Panama Jack wrote:That is a GOOD thing and windows really should have been doing that from the start. It is sloppy programming to use different case on letters for filenames like above.MrPotatoes wrote:ThisIsAClass.class.php is different from Thisisaclass.class.php
ugh. that's killing me. i do the different caps just because i can read them better and i use long names to make it easier to know where goes where and what does what. same with my variables. since i'm the one coding everything is long andcamel humped.
Yes, I know you can use different case on function names in PHP and I feel that is sloppy as well. If you use ThisIsMyCode in one spot (filename, class name, function name, variable name, etc) then you should use the SAME case every single time you use it otherwise you are just being sloppy. And we all know how sloppy Windows coding can be.It also makes your code much easier to follow if the case used is the same.
i didn't know that Mac was case sensitive as well. looks like i've got some work cut out for me. hee hee
no biggie
If you're into rant: http://www.tonymarston.net/php-mysql/ca ... -evil.html.
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
like the rest of the stuff he talks about i can only stand to read a paragrpah or two before i either give up or start to dose offtimvw wrote:If you're into rant: http://www.tonymarston.net/php-mysql/ca ... -evil.html.