Cobra instead of PHP and/or Javascript?
Posted: Tue Jun 05, 2012 2:38 pm
Hi,
I'm still exploring many web technologies and I'm a beginner in the field, well actually I'm getting back to programming after about 9 years of complete absence from it. I was wondering if Cobra could eventually be a good language for client side and server side script to be used instead of current web technologies like PHP and Javascript. I've heard good and bad things about PHP, but most people find it a poor choice in the long run. I personally don't find PHP code to be particularly pretty even though it is supposedly very easy to learn. Since some people prefer to use Python instead of PHP in the long run, I was wondering if it would be possible to use Cobra instead of PHP and Python? Do anyone foresee any major obstacles to it?
Similarly, Javascript could be made much better, and it actually was made much better with Coffeescript. From the little knowledge I have, Coffeescript looks great and seems much more easy to work with and simpler in most ways. I understand that for a client side script language it has to be made standard by the different browsers of the industry to be a smart choice. And since Coffeescript compiles to Javascript it's not a problem. Would it be possible to make Cobra compile in Javascript just like Coffeescript does? Or could Cobra replace Javascript altogether at some point as a performant client side script language?
I am looking at making the right choice of languages for a few web project I have in mind and I would really like to consider Cobra if at all possible, because if more of us are using it in more places it will give the languages more visibility and more chance to be adopted and become a standard.
What are your thoughts?
I'm still exploring many web technologies and I'm a beginner in the field, well actually I'm getting back to programming after about 9 years of complete absence from it. I was wondering if Cobra could eventually be a good language for client side and server side script to be used instead of current web technologies like PHP and Javascript. I've heard good and bad things about PHP, but most people find it a poor choice in the long run. I personally don't find PHP code to be particularly pretty even though it is supposedly very easy to learn. Since some people prefer to use Python instead of PHP in the long run, I was wondering if it would be possible to use Cobra instead of PHP and Python? Do anyone foresee any major obstacles to it?
Similarly, Javascript could be made much better, and it actually was made much better with Coffeescript. From the little knowledge I have, Coffeescript looks great and seems much more easy to work with and simpler in most ways. I understand that for a client side script language it has to be made standard by the different browsers of the industry to be a smart choice. And since Coffeescript compiles to Javascript it's not a problem. Would it be possible to make Cobra compile in Javascript just like Coffeescript does? Or could Cobra replace Javascript altogether at some point as a performant client side script language?
I am looking at making the right choice of languages for a few web project I have in mind and I would really like to consider Cobra if at all possible, because if more of us are using it in more places it will give the languages more visibility and more chance to be adopted and become a standard.
What are your thoughts?