Page 1 of 1
WAMP/LINUX/Development Rant
Posted: Wed Nov 15, 2006 9:43 am
by MrPotatoes
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>
Posted: Wed Nov 15, 2006 10:42 am
by RobertGonzalez
Just another difference between Windows and *nix. You get used to it, trust me.
Posted: Wed Nov 15, 2006 10:54 am
by MrPotatoes
Everah wrote:Just another difference between Windows and *nix. You get used to it, trust me.
*whine*
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

Posted: Wed Nov 15, 2006 11:12 am
by d3ad1ysp0rk
most of the errors are related to the fact that *nix servers are actually case sensitive when reading files.
Most of the errors are related to that fact that their is an error in your includes.

Posted: Wed Nov 15, 2006 12:13 pm
by Jenk
^
It's your fault, not *nix's fault.

Posted: Wed Nov 15, 2006 12:19 pm
by MrPotatoes
of course it's my fault. but i'm pretty sure that you can set *nix to not be case sensitive. i think. i dnot use it so i'm not sure.
meh.
just a peeve of mine
Re: WAMP/LINUX/Development Rant
Posted: Wed Nov 15, 2006 1:02 pm
by AKA Panama Jack
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.
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.
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.
Posted: Wed Nov 15, 2006 1:04 pm
by AKA Panama Jack
MrPotatoes wrote:it just throws me off when it happens
Once you get into the habit of typing the names the exact same way all of the time then you won't see it happening anymore.

Posted: Wed Nov 15, 2006 1:17 pm
by Chris Corbyn
FYI Mac is also case sensitive. Windows are the ones who've decided to be slack about things. If you're programming you'll wanto to stick to the same casing anyway just for good practise. Some languages won't work at all if you get casing wrong.
Re: WAMP/LINUX/Development Rant
Posted: Wed Nov 15, 2006 5:02 pm
by MrPotatoes
AKA Panama Jack wrote: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.
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.
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.
everything is cased the same within code for me
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
Posted: Thu Nov 16, 2006 12:52 am
by timvw
Posted: Thu Nov 16, 2006 4:42 pm
by MrPotatoes
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 off