RSSAmplifier

Blog

Pragmateek

A geek on his way to IT pragmatism

pragmateek.comRSS feed ↗10 posts

Latest posts

Why C# structs do no support inheritance

Introduction A common question asked by C# developers is why structs (the representation of .NET value types in the C# language) do not support inheritance whereas classes (.NET reference types) do? I see three reasons: Design choice Conflict with array Continue reading

Objects creation in C# vs C++

Introduction Sometimes the way two languages implement a feature can significantly differ in surprising ways, and even the keywords can be misleading.This is the case of instantiation of C++ classes and C# structs a.k.a. .NET value types. In this article, Continue reading

Beware of too concise code

Introduction As developers we often strive to build concise code in order to avoid useless ceremony that would distract from its purpose. We do that by leveraging the syntactic sugar offered by the languages to reduce code verbosity and increase Continue reading

When semicolons matter

Introduction Younger I was a dogmatic developer blindly enforcing the IT gurus dogma, later I ve become more pragmatic preferring code readability and maintainability.In JavaScript, it means omitting the semicolons to lighten the code and remove useless ceremony. But in some Continue reading

A basic use-case for Task Unwrap

Introduction Recently, after months without using .Net/C#, I was enhancing an existing .Net/C# WPF application leveraging the .Net Task Parallel Library (TPL). But naively applying the JavaScript Promises patterns I had used in the previous months I was bitten by Continue reading

Optional passed by reference parameters with C# for VBA COM APIs

Introduction If you ve already developed COM APIs with .Net, typically in C# with VBA as the consuming language, you ve probably leveraged two powerful features: by-reference parameter passing that allows the API to change the input object itself, not only its Continue reading

[FRENCH] Est-ce la fin de WPF: présent et futur de WPF

Introduction En tant que développeur et formateur WPF depuis plusieurs années les nouvelles orientations de Microsoft pour les plateformes clientes, avec la montée en puissance du tout nouveau WinRT, m ont quelque peu inquiétées. Et pour cause : j ai directement subi Continue reading

Is WPF dead: the present and future of WPF

Introduction As a WPF developer for years I was recently concerned by the new direction chosen by Microsoft on its client platforms with the rise of the brand new WinRT framework. I was concerned for good reasons: I ve suffered from Continue reading

Book review : “MCSD Certification Toolkit (Exam 70-483): Programming in C#”

Introduction I ve recently passed the Microsoft 70-483 Programming in C# certification which is one of the entry point into the .Net and WinRT developers certification cycles. To be well prepared I ve read the two books entirely dedicated to this certification Continue reading

[FRENCH] Revue du livre “MCSD Certification Toolkit (Exam 70-483): Programming in C#”

Introduction J’ai tout récemment passé et obtenu la certification Microsoft 70-483 Programming in C# qui est l un des points d’entrée des cycles de certification développeur .Net et WinRT. Pour m y préparer j ai notamment lu les 2 livres qui y sont Continue reading