WAMP/LINUX/Development Rant

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

WAMP/LINUX/Development Rant

Post 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>
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Just another difference between Windows and *nix. You get used to it, trust me.
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post 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 :lol:
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post 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. :D
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

^

It's your fault, not *nix's fault. :P
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post 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
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Re: WAMP/LINUX/Development Rant

Post 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.
Last edited by AKA Panama Jack on Wed Nov 15, 2006 1:06 pm, edited 2 times in total.
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post 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. :)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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.
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Re: WAMP/LINUX/Development Rant

Post 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
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post 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
Post Reply