Abstract: In order to exchange structured data directly between the platforms, we must be able to easily take the marshalled or serialized definition of the object and turn it into an object in memory. There are standard ways of marshalling of objects to XML in both Java and .NET. I have found it a littleContinue reading “XML Interoperability of Serialized Entities in Java and .NET”
Here is a short screencast that I made to demonstrate what I believe are some of the more useful features and techniques of working in Sublime Text 2 and the python repl. Specifically, I wanted to show others who might need the dots connected to understand just what the intended usage flow of SublimeRepl is. TheContinue reading “Dev flow with integrated SublimeREPL”
As I move between C# and Ruby, I have found my brain’s internal syntax parser always needing to switch gears and repurpose its understanding of Fat Arrow, =>. In Ruby, it provides a visually salient means of expressing key => value pairing within a Hash. C# on the other hand uses it to indicate theContinue reading “Hacking C#’s Lambda Expressions Into Hash Rockets”
The structured programming model of C# is decisive and straightforward. There is generally one or only a handful of idiomatically correct ways to facilitate a particular design need. In the case of API design, the language’s conception of access modifiers is fundamental. Exposures of behaviors to client code are controlled by applying public, private, orContinue reading “C# Deserves A Better Message Passing API”
A while back, I posted about using DynamicObjects to facilitate building Domain Specific Languages in C#. To the extent that we have to play within the syntactic sandbox that the language itself requires, we are still able to take advantage of what is available in the way of built in operators by changing their meaning.Continue reading “Introducing X DSL, A More Fluent XML Builder”
Wikipedia defines a quine as “a computer program that takes no input and produces a copy of its own source code as its only output”. Some standard terms for this category of program are “self-replicating”, “self-reproducing”, and “self-copying” programs. Quines are possible in any programming language. The term quine, itself, was first coined in DouglasContinue reading “Dynamic Domain Specific Languages in C# and the Quine”
Here’s a small extension to $ that programmatically selects the text beneath a jQuery object. It works cross-browser.