Fantasy Grounds Module Maker - It Works

Some friends and I play D&D through Fantasy Grounds. It's a great app, we have a lot of fun playing through it. While we start getting used to it; there's been interest in being able to make custom things. From a couple friends who've tried to do this through the FG UI; it's less than ideal. Which has me attempting to make a module maker. For 5E. I'll [Read More]

Technical Practices: Never Return Your Data

No Getters That's the normal form of this technical practice. No Getters There's some uncertainity around what "No Getters" means. OK, there's two versions of it. Yegor Bugayenko in Elegant Objects Vol. 1 says, It's all about prefixes That's section 3.5.3 in Elegant Objects Vol. 1. I very strongly disagree with it. When it's all about the prefix, then you're not effectively encapsulating behavior. If you're [Read More]

µObjects: Unit Testable UI Interactions

This is a follow up to the Hotel Pattern which I've pretty much abandoned, though it's concepts and ideas have evolved into my current practices. It ties into the Interface Overload mechanism I discovered as well. Though, neither fit well into the new µObject paradigm that I'm developing in. Both of those links are going to be useful to understanding what I'm striving for here in the big picture. Possibly [Read More]

Patterns: Null Object

I've covered never having nulls and that's what the NullObject pattern is here to help us with. The NullObject pattern is one that I tried to implement earlier in my career (mostly after reading about it) and never managed to get it to stick. I now know that it never stuck because I never did it right. I got close. I got rid of the nulls; but never the Null [Read More]

My Thoughts: Pass through vs Base class

A conflict that has come up a few times is using composition and a pass through or a base class I favor pass through; I write it that way Everytime. The other engineer on the project favors a base class. Here's an example of what we've encountered a few times in the project at work. public class CacheFoo : IFoo{ private ICache<IFoo> _cache: Private IFooer _fooer: //Berevity [Read More]