Monthly Archives: November 2011

C++ Sucks

Disclaimer: This should be titled “Things about C++ that suck,” but “C++ sucks” is a much better search term. 1. Too many ways to write identical things. This is a language smell. Ideally, there should be one way to write … Continue reading

Posted in Programming | Leave a comment

Template strings

add_word(foo); add_word(bar); add_word(are); tout<foo,and_w,bar,are,concat<foo,bar,tstr<‘!’>>>::print(); This prints “foo and bar are foobar!” after formatting it with templates. I’m going to try and add some actual string functions so I can do cool stuff. Very very messy/buggy code:

Posted in Uncategorized | Leave a comment