Hacker News new | past | comments | ask | show | jobs | submit login
Effective C++ for Web development
2 points by d0m on June 27, 2010 | hide | past | favorite
Hi, we all know there are lot of books that teach C++. However, I can say by experience that the best "c++ second book" is Effective C++. I say that because it teaches the "Why you should do this" instead of "How".

Now, I'm switching from what I'm used to (Desktop application) to Web development and I'm searching a great book that teach the "good web practice" and the "why".

For instance, I know how what ajax is, and how it works. I know html, javascript and some libraries (jquery, etc.) However, often I need to resolve a certain problem and I don't know what is the "best way" to resolve it. I feel what I'm doing in web is always hack on hack.

For example, if I send an ajax post request to get some info, I want to know if there is an error. So, my first try at this was to get a string and check if the first 3 characters were "suc" or "err". Now, I know a few better way, but it was only an example.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: