Skip to main content
16 events
when toggle format what by license comment
Jun 16, 2020 at 10:01 history edited CommunityBot
Commonmark migration
May 13, 2013 at 11:32 comment added Kokizzu yep, std::string, QString, boost string algo and others are cool :3 but i like Ruby
Oct 5, 2012 at 10:45 history edited svick CC BY-SA 3.0
slightly better formatting
Sep 27, 2012 at 17:34 comment added MrFox +Tim Ring, some libraries make C++ string processing amazingly easy. After using QString for a while, I'm hard pressed to find Python's advantages in this regard.
Jul 25, 2011 at 12:44 history made wiki Post Made Community Wiki by user32315
Dec 23, 2010 at 10:06 comment added user11465 I dont know why people have such difficulty with things like text processing in C/C++. Just use a library or write your own. Once you've written the low level functions (one-time pain) you gain massive performannce, tight code and greater flexibility. Yes, I'll use Python for quick/dirty command line utilities but for serious production code its C/C++.
Dec 23, 2010 at 7:39 comment added dan_waterworth @Matt, that's a trick I like too.
Dec 23, 2010 at 6:07 comment added ShreevatsaR Alex Stepanov saved C++ with STL.
Dec 23, 2010 at 5:48 comment added Matt Joiner @dan_waterworth: Agreed. In fact I'll gladly wrap STL for custom containers to prevent C++ leaking into the rest of my source. The string handling in C++ is plain awful. I use C-style strings even in C++.
Dec 23, 2010 at 0:15 comment added John Bode @Nils: On a scale of 1 to pain-in-the-ass, text processing in C++ is definitely worse than in more modern languages like Python. It's just that text processing in C defines pain-in-the-ass. If the choice is between C and C++ for that particular application, then C++ wins easily.
Dec 22, 2010 at 23:28 comment added Ferruccio Boost is the only reason I still use C++.
Dec 22, 2010 at 20:48 comment added Nils Heh I found especially text processing painful compared to let's say Python..
Dec 22, 2010 at 18:24 comment added Mr. JavaScript I'd like to echo Konrad's sentiment. +1 for strings.
Dec 22, 2010 at 17:00 comment added Konrad Rudolph +1 for text processing, which I completely forgot about in my answer.
Dec 22, 2010 at 16:27 comment added dan_waterworth STL is the only reason I ever consider using C++.
Dec 22, 2010 at 15:47 history answered John Bode CC BY-SA 2.5