First of all, thanks for your answer.
Quote:
| Originally Posted by requinix Your survey consists mostly of loaded questions. Of course PHP should be improved! |
Well, I am sure not everyone will have the same opinion as you have. I read many times statements such as, "no, to complicated", "PHP was always a weak typed system and every attempt to improve it is evil" etc.
Quote:
| Originally Posted by requinix Where's the question about whether I consider PHP to be lacking in this area? |
These question should come once
Quote:
| Originally Posted by requinix The "improvement" is vague, not to mention an incorrect sample of PHP code. Must the variable be of a string type? Is it cast to string if not? |
As mentioned the improvements are not yet applicable in PHP. It's an example how scalar types could be defined for parameters in a later PHP version (or in TSPHP).
Quote:
| Originally Posted by requinix This doesn't address type safety. It's a question of defining variables on-the-fly. Related, sure, but a different topic. |
I mostly agree, I am just curious what people think about this related topic.
Quote:
| Originally Posted by requinix It certainly would change PHP: you're redefining the syntax for the language. If I were to write for your tool I would not be writing PHP anymore - I would be writing "TSPHP". |
Cannot agree on this one, PHP would remain as it is today, but yes, the developer would need to write TSPHP instead of PHP with this approach. Do you agree that we could say, if one want type safety he should use TSPHP if one doesn't care the should stick to PHP?
Quote:
| Originally Posted by requinix Wait... So if the project is unfeasible then do I enter "infinity"? |
Hm... maybe I have asked my question wrong or it's not clear enough. I wanted to say enter your desired time regardless if it is feasible to develop TSPHP in this time.
Quote:
| Originally Posted by requinix Enums, generics, operator overloading, properties, object initializers, list-style object initializers, catching multiple exceptions at once... These are all features in other languages. I'll say it again because it seems you've lost track: this is not PHP anymore. C# is cool and all and I really do love it (screw Java), but I also love PHP because it's not C#. |
You are right, that's not PHP at all and I wanted to know if you miss one of those concepts in PHP.
Quote:
| Originally Posted by requinix
Which IDE do you use mostly (would you define as "your IDE")?
16. How satisfied are you with...
What does this have to do with strong typing? I get that later questions are about establishing a background for the interviewee but IDE?
|
Indirectly it has something to do with type safety. You said you are familiar with C#. I am sure you aware of the support of the language within the IDE.
Quote:
| Originally Posted by requinix
Who am I asking? "The community"? Which one? Made up of what type of people? |
I know, it's a realy hypothetical question.
Quote:
| Originally Posted by requinix |
Yes I have seen all RFC relating to type safety, but thank you.
Quote:
| Originally Posted by requinix Also, that site is reeeaaallly slow. |
Yes unfortunately. you cannot image how long it takes to set up an online survey and you wouldn't change to another platform either. Futhermore q-set is free and has many good features (as rules, jumping etc) which other services do not provide.