discomatt Posted October 21, 2008 Share Posted October 21, 2008 [quote author=genericnumber1 link=topic=221525.msg1020246#msg1020246 I don't want to read someone's code where they aren't consistent.. it looks amateur, messy, and it makes the code harder to read. I wasn't referring to a single author, I was talking more about creating a convention. Sloppy code is different than a developer not following your preferences But even then, changing case for function/class names really isn't THAT sloppy. What ticks me off is when devs mix camelHump() and under_score() naming Link to comment https://forums.phpfreaks.com/topic/128887-solved-case-insensitive-class-constants-possible/page/2/#findComment-671004 Share on other sites More sharing options...
genericnumber1 Posted October 21, 2008 Share Posted October 21, 2008 But even then, changing case for function/class names really isn't THAT sloppy. I disagree What ticks me off is when devs mix camelHump() and under_score() naming I agree Link to comment https://forums.phpfreaks.com/topic/128887-solved-case-insensitive-class-constants-possible/page/2/#findComment-671020 Share on other sites More sharing options...
alexweber15 Posted October 21, 2008 Author Share Posted October 21, 2008 What ticks me off is when devs mix camelHump() and under_score() naming you mean mixing between the two for variables and/or functions? or in general? as in would it tick you off if ALL variables used under_score() naming and ALL functions used camelCase() ? just wondering Link to comment https://forums.phpfreaks.com/topic/128887-solved-case-insensitive-class-constants-possible/page/2/#findComment-671068 Share on other sites More sharing options...
discomatt Posted October 21, 2008 Share Posted October 21, 2008 No, that's not mixed... but even then... variables differ from functions by having a '$' in front of them.. why use different naming standards? Link to comment https://forums.phpfreaks.com/topic/128887-solved-case-insensitive-class-constants-possible/page/2/#findComment-671213 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.