Sun.Apr 21, 2024

article thumbnail

CodeSOD: Concrapenate Strings

The Daily WTF

As oft discussed, null-terminated C-style strings are an endless source of problems. But there's no problem so bad that it can't be made worse by a sufficiently motivated developer. Today's rather old code comes from Mike , who inherited an old, MFC application. This code is responsible for opening a file dialog, and the key goal of the code is to configure the file filter in that dialog.

article thumbnail

photostream 130

Martin Fowler

Big Sur, CA

181
181