-
Recent Posts
-
Recent Posts
Recent Comments
- Downsides of checking in files that have no changes? – Windows Questions on TFS Pending Changes – Ignoring Files which are Identical to the Originals
- Sam S on TFS Pending Changes – Ignoring Files which are Identical to the Originals
- earnest on TFS Pending Changes – Ignoring Files which are Identical to the Originals
- Erich Mühsam on TFS Pending Changes – Ignoring Files which are Identical to the Originals
- Evan Roberts on TFS Pending Changes – Ignoring Files which are Identical to the Originals
Categories
Archives
Tag Archives: C
Some wacky HTML generation code I wrote the other week
On a site I’m working on, we offer content authors a multi-line textbox whose content later is rendered to end-users by way of replacing newline-like tokens with <br />s. It was then decided that we needed to add support for … Continue reading
Why All Developers Should Learn Functional Programming
Last Friday, I turned up to work completely unaware that I’d be spending the rest of the day at the CodeMania programming conference – it was a nice surprise to say the least. The most poignant presentation for me, was … Continue reading
Posted in C#, Functional Programming
Tagged .NET, C, functional, functional programming, imperative, languages, linq
1 Comment
JSON DateTime Serialisation Gotchas
DateTimes are a bit nasty, really. They appear deceptively elementary and unthreatening, leading generations of programmers to misuse them, or even grossly underestimate them and attempt to roll their own datetime libraries, only to end up in no man’s land … Continue reading
Posted in C#, Web
Tagged .NET, C, DataContractSerializer, DateTime, DateTimeOffset, JavaScript, JavaScriptSerializer, JSON, MVC, time zone
2 Comments
Should C# Offer the With Construct?
As repulsive as I find the syntax of VB .NET, I recently stumbled upon one of its language features which piqued my interest – the With keyword, for which no direct equivalent exists in C#. It basically allows you to … Continue reading
How to Add QT Support to an Existing Visual Studio Project
QT is a cool GUI framework and the Visual Studio add-in is pretty neat… it allows you to code and deploy C++/QT apps without having to deal with QT’s include directories, linker dependencies, environment variables and all that jazz. You … Continue reading
Posted in C++
Tagged C, GUI, Project, QMake, QT, Solution, Visual Studio, Visual Studio Add-In
6 Comments
C++ GUI Libraries, QT and the Signals/Slots Paradigm
A bit about C++ GUI libraries, a bit about QT and a bit about its renowned Signals/Slots paradigm Continue reading
Posted in C++
Tagged C, design patterns, GUI, Observer, OpenGL, QT, SFML, signals, signals/slots, slots
Leave a comment
C/C++ Assertions and Defining Your Own Assert Macro
This post talks about the C runtime assert statement, how it should be used and some of its pitfalls. A custom C++ assert macro is provided and discussed. Continue reading