Quantcast
Channel: namespace – JacksonDunstan.com
Browsing latest articles
Browse All 7 View Live

The Size of Empty

I was reminded about the flash.sampler API by Grant Skinner’s recent post about it. While only available in the debug player, it can still tell us some valuable information about what goes on in the...

View Article


From AS3 to C#, Part 13: Where Everything Goes

Today we continue the series by wrapping up C#’s class/interface/struct/enum system with a discussion of where to put them all. We’ll focus on package/namespace, organizing types into files, and some...

View Article


Namespaces As Function Pointers

One lovely trick C/C++ programmers can use is to replace conditional logic (eg. if statements) with function pointers if the result of the conditional logic is a loop invariant. Function pointers do...

View Article

Better OOP Through Namespaces

Namespaces may make poor function pointers, but you’d be wise to not write them off so quickly. It turns out that they have an altogether different usage that can help you blend the speed advantages of...

View Article

From AS3 to C#, Part 3: AS3 Class Parity

Picking up from last time, today we’ll finish off classes in C# from an AS3 perspective in preparation for next week when we delve into all-new concepts that aren’t in AS3 at all. Read on to learn the...

View Article


C++ For C# Developers: Part 17 – Namespaces

With structs wrapped up, we can move on to other features of C++. Today we’ll take a look at namespaces. We’ll cover the basics that C# provides, but go so much further and cover a lot of advanced...

View Article

C++ For C# Developers: Part 35 – Modules, The New Build Model

We’ve already seen C++’s traditional build model based on #include. Today we’ll look at the all-new build model introduced in C++20. This is built on “modules” and is much more analogous to the C#...

View Article
Browsing latest articles
Browse All 7 View Live