Articles tagged C++

  1. Looping forever and ever
  2. Syntactic Sugar
  3. Macros with halos
  4. Fixing header file dependencies. A simple script to check header files are self contained
  5. Stop the clock, squash the bug. Which is better, a clock which loses a minute a day or one which is stopped? An investigation into how we find and fix software defects.
  6. Top Ten Percent. The most efficient way to sort the top 10% of a collection.
  7. Top Ten Tags. Choosing the right algorithm to select the N largest items from a collection.
  8. From Hash Key to Haskell. A note on keys, characters, smileys, digraphs and Haskell.
  9. Elegance and Efficiency. Must elegant code be efficient? This article investigates.
  10. Big City Skyline Puzzle. Comments on a novel computer science puzzle. When machine resources are scarce, a compiled language offers precise control.
  11. Ongoing Peer Review
  12. Pitching Python in three syllables
  13. Koenig’s first rule of debugging. The problems caused by the C++ compilation model, dependencies and cryptic compile diagnostics. If an expert like Andrew Koenig can’t get it right, what hope for the rest of us?
  14. Shameful Names
  15. He Sells Shell Scripts to Intersect Sets. The Unix command shell contains a lot of what I like in a programming environment: it’s dynamic, high-level, interpreted, flexible, succinct. This article shows the Unix tools in action.
  16. The Third Rule of Program Optimisation
  17. Evolving Python in and for the real world
  18. Introducing Java
  19. Mixing Python and C++
  20. Release then Test
  21. Casualties in the great computer shootout. An investigation into various dimensions of some speed benchmark programs.
  22. Retro-fitting coding standards
  23. Code Craft
  24. Printed C++ Journals
  25. Review of Pete Becker’s TR1 Book
  26. Smart Pointers, Dumb Programmers. A note describing how a smart pointer tripped me up.
  27. Joined Output and the Fencepost Problem. Items and the spaces between them: some notes on the fencepost problem and joining up strings.
  28. Computer Language Complexity
  29. Complacency in the computer industry
  30. The Lazy Builder’s Complexity Lesson. A discussion of algorithmic complexity, and a demonstration of how the C++ standard library allows programmers to write code which is both concise and efficient.
  31. String literals and regular expressions. An article about string literals, escape sequences, regular expressions, and the problems encountered when mixing these together.
  32. There’s no escape??!
  33. Parsing C++
  34. Are List Comprehensions the Wrong Way Round?
  35. Message to Self. What’s this?
  36. Octal Literals
  37. A Subversion Pre-Commit Hook. How to install and test a simple Subversion pre-commit hook script.
  38. Binary Literals
  39. Readable Code
  40. Built in Type Safety?
  41. The case against TODO. A neat label for work in progress or an easy way to disguise the flaws in a codebase?
  42. Metaprogramming is Your Friend. An investigation into metaprogramming techniques used by lazy C, C++, Lisp and Python programmers.
  43. A Mini-Project to Decode a Mini-Language
  44. Code in Comments. Don't comment out dead code, delete it!