Hacker News new | past | comments | ask | show | jobs | submit | more camus's comments login

Last week i had to create an Android App generator that takes a json manifest and generate Java Models,ContentProviders,activities,resources,unit tests for each Sqlite table in my app = 4/5 hours of work in PHP. days of work saved each time i need to bootstrap an app.

This week I needed a command line script that optimizes image files for different form factors = 30 minutes of work in PHP

I needed the first script to be available to my peers so they can generate basic android crud apps through a web app = 1 hours of work/deployement on an apache server and no need to ask the sys admin for another server.

My point is you can hate PHP all you want it is a great tool that has its place in enterprise envirronement.


If that is your point, than you really failed to support it. Obviously you can do stuff in PHP. You could have done all that stuff in any scripting language. The closest thing to a benefit you listed was "we already had PHP installed on a server". If that is your best sales pitch, you should stop trying to sell it and let others take on that role.


My point was speed of development deployement,but you're not smart enough to get it whatever language you use.


No, your point was:

>My point is you can hate PHP all you want it is a great tool that has its place in enterprise envirronement.

Go back and read your post. Now if you want to deflect the criticism that you did not support your point by pretending you had a different point, you are again failing in the same way. Every scripting language has equal or better "speed of development deployement" compared to PHP. Saying "PHP might be a giant pile of crap, but at least you can write stuff in it" only works if you can't write stuff in other languages. But obviously you can. If you want to claim PHP has a role, then state that role clearly, and support the claim with evidence. You need to show that PHP is in some way better than the alternatives.


Why not JS?


Irrelevant! these wealthy russians stole anything they could,they did not create any wealth.


Between writing less code with a text editor and writing loads of verbose code with a powerfull IDE i'd chose the former. How much text processing would you write in Java vs Python/Ruby ? This is a no brainer for me. Dynamic languages have their advantages,though i find Scala to be a good compromise.


But Android doesnt run on the JVM, it is not JAVA the plateform.


Scala is awesome but not a scripting language. Running Scala as script is insane as it takes 1 or 2 seconds to start the JVM/Compile/Execute a fairly large Scala file. You dont want to use that on your server for scripting purposes.

Ruby,Python or PHP are more suited for scripting tasks(especially Java code generation,i'm writing an Android app generator right now,since i was tired of all the boilerplate : json+php script = Activity classes , resources files , ContentProviders generated in less than 0.2 seconds no matter how many tables I need for my apps,saves me hours of work).


doesnt matter,the jvm takes a lot of resources which is problematic is some situations.raw speed is nothing without the memory footprint or AAA games would be written in java.they are not for a good reason:lack of direct memoy management.


I am not saying one should use it or not, or how it is strictly better than something else, just saying I can easily see _in theory_ how a jit compiler written in C can be faster than plain C.


MSFT could shut down Mono anytime it wants.How many business use mono (to build web apps) in production?

Scala,Groovy,Xtend,etc... there is enough languages on the jvm one doesnt have to use any MS related tech.


How so? C# is a standardized language.


Only partially. Microsoft has stopped submitting language updates to ECMA.


Source citation please?


On what grounds?


node is a mashup between v8 and some C/C++ libs,with a javascript interface. It's not really a framework , i would say node is closer to nginx than rails for instance.


neither of which is a programing language.


it's the HN effect , one should better web scale before linking one's work ;) nice site though.


Yeah,well some startups dont have a legit business model at first place. These laws may be bad but you wont change them by being "disruptive".


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: