Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No sarcasm intended: would C++ be a good choice for web development if it feels right for the developer?

In my short experience with several popular languages, there are certain niches for development. E.g. high-level web development (Python, Ruby, Perl), complex enterprise development (C#, Java), video games and embedded (C), general desktop software (C#, C++).

Within the niche, it is perfectly fine to chose any language within niche. However, to use langauges across niches is quite troublesome. No one cares if you use Ruby instead Python to write a web-site but people would raise eyebrows if you use C (counter-example: eBay).



There's exceptions to all those examples you've given.

Web dev: There is tons of Java web dev junk Tomcat and all that. MochiWeb and Yaws are Erlang web platforms.

Video games: Eve Online is mostly Stackless Python with some C++ libs.

General desktop software: (not sure what this category means) but wings3d is written in Erlang, plenty of examples here http://pypi.python.org/pypi?:action=browse&c=32

Complex enterprise development: I doubt there is such a beast written in only one language. And I argue that Java is used because it is close to best for hordes of programmer drones working for enterprises. The non-hordes are why jruby, jython, scala are becoming popular.

pg did the airline ticket thing in Lisp cause it was best for him.

You claim short experience and reiterate long held stereotypes. I claim 20 years of experience and see a vastly different picture than you do.


Another counter-example: okcupid.com

Apparently their site is ~200k lines of C++

http://en.wikipedia.org/wiki/OkCupid#Technical




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: