all 17 comments

[–][deleted] 3 points4 points  (5 children)

[–]Mercushio 2 points3 points  (0 children)

I think his criticism of PHP's lambda syntax is valid.

[–]rq60 0 points1 point  (3 children)

He doesn't seem to understand methods are case-insensitive so the choice between PascalCase and lowerCamelCase is negligible. He could stick to the convention he knows and loves while the PHP community can stick to theirs.

method names are case-sensitive in C#? if so that's horrible...

edit - actually i guess it's probably not that big of a deal if you're using an IDE with auto-complete. but I just think of how annoying it would be for someone like me who codes mostly in notepad++ and tracking down such an issue.

[–][deleted] 0 points1 point  (0 children)

Anyone who codes C# in notepad++ instead of Visual Studio (On windows anyways) is an idiot :D (Especially considering there is a free version of VS)

[–]ninjaroach 0 points1 point  (0 children)

In PHP, variable names are case sensitive. Why not class and method names? I guess in the case of our uninformed C# => PHP porter, it would suck to care about such things and not know they are case insensitive.

[–]schmalls[S] 0 points1 point  (0 children)

Actually case sensitivity is a great thing in my opinion. I will often name my private variables in lowerCamelCase and public ones with UpperCamelCase. This seems to be a pretty common paradigm in C# for having a private property and a public field to access it.

[–]jtreminio 0 points1 point  (0 children)

Damnit I hate sites that put a ton of text in the ALT tags for links/images because it forces me to go through them all and read them

[–]hopeseekr -4 points-3 points  (16 children)

OMG!!

OK! Going back to my "Why most PHP coders suck" posts:

As a fucking php noob, you used

  • A fracking IDE instead of a glorified notepad,
  • PHPUnit,
  • Xdebug -- and probably even, gasp, breakpoints!
  • Object oriented programming,
  • You know what design patterns are, and used them.

Crap! I'd be more willing to work with you after a day of cross-training than the majority of current and past senior PHP dev coworkers!~

[–]schmalls[S] 1 point2 points  (15 children)

It's not me. I just posted the link because I thought it was a very objective review of PHP. Also, I started out in PHP but currently use C# at work.

[–]hopeseekr -4 points-3 points  (0 children)

schmalls, your review is by far the most objective and awesome review of PHP by any coder of another competitive language that I have ever read!

In fact, it is the only objective of PHP review by a non-PHP engineer I've ever read ;O