Re: What the hell is C-Sharp?

From: Andrew DeFaria (Andrew_at_DeFaria.com)
Date: 02/24/05


Date: Thu, 24 Feb 2005 18:31:37 GMT


rick.huby@e-connected.com wrote:

> I am a Java/JSP kind of guy. One thing I have found using PHP as
> opposed to Java for websites is that it is SO easy to knock websites
> together.
>
> The resources out there are amazing. Loose typing means I can cut
> corners etc.
>
> Hosting is bloody cheap!

Exactly!

> Java on the other hand is more effort - but IMHO gives you more stable
> code. Strong typing and compilation mean you can erradicate SO many
> errors that can otherwise slip into the code.

While it is possible that strong typing may catch some errors, it has
been my experience that often you are chasing down strong typing errors
and fixing them when in reality they would never actually cause a problem.

> c# being like Java (strongly typed etc.) and with such emphasis
> (certainly through the development environments) on SOAP and
> Enterprise Scale development are probably more suited for the bigger
> projects.

I agree. But I would add that being "big" is not the only qualifier.
There are jobs that are suited to such technologies. They tend to be
larger projects but that does not translate to all large projects
therefore need such a solution.

> Me as a developer looks at it this way. For smaller, simpler web apps
> PHP is great due to flexibility, ease, speed and support. Java and C#
> come into their own when the scale of a project is more significant.
>
> Before I am pulled apart for underestimating PHP, or being a poor
> coder etc. I'd just like to point our that I think PHP is great - as
> is Java and C# - but each as their own best place in the world.

Exactly! Couldn't agree more.

-- 
The chance that you'll forget something is directly proportional to ... 
to ... uh ...



Relevant Pages

  • Re: Object Oriented PHP vs Java
    ... >> I feel that using PHP is by default more OO than Java because of the difference in typing techniques. ... This is called static typing in the case of Java, and dynamic typing in ...
    (comp.lang.php)
  • Re: Why no type hints for built-in types?
    ... Yes, PHP has loose/weak ... Not with loose typing. ... The following example will print 6 because PHP will ... work the same as in Java, ...
    (comp.lang.php)
  • Re: Why no type hints for built-in types?
    ... Yes, PHP has loose/weak ... Not with loose typing. ... The following example will print 6 because PHP will ... work the same as in Java, ...
    (alt.php)
  • Re: HTML "scrape" causes loss of query string in URL
    ... >> in PHP with several PHP scripts interacting with one Java servlet, ... >> which interacted with several Java classes. ... > process to go from PHP to JSP. ...
    (comp.lang.java.help)
  • Re: e-commerce portal
    ... haven't had a single site that sees a need for this sort of hardening. ... Java anymore. ... PHP is a technology that has gotten a harsh rap due to large security ... Marketing at its worse, eh? ...
    (comp.databases.pick)