Why you should never use a boolean field (use an Enum instead)
-
I have seen the light. I have been wrong, all this time. From now on, all the code I write is going to contain this enumeration:
public enum LogicalStatus
{
True,
False
}Now, all my code will be beautiful. I am assured that I will be able to ascend to a higher level of consciousness now.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
Hey Pete, I was wanting to poke around CodeStash, but I'm getting: "Google Chrome could not connect to www.codestash.co.uk" Is the site still up? Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F# -
Hey Pete, I was wanting to poke around CodeStash, but I'm getting: "Google Chrome could not connect to www.codestash.co.uk" Is the site still up? Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F#Hi Marc, I've just had to ask the CodeProject team to restart the server as it's hosted on their servers. Regards Pete
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
-
Hi Marc, I've just had to ask the CodeProject team to restart the server as it's hosted on their servers. Regards Pete
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
Pete O'Hanlon wrote:
I've just had to ask the CodeProject team to restart the server as it's hosted on their servers.
Hmmm, it's still not responding. I guess the hamsters are on vacation. Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F# -
Pete O'Hanlon wrote:
I've just had to ask the CodeProject team to restart the server as it's hosted on their servers.
Hmmm, it's still not responding. I guess the hamsters are on vacation. Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F#It's back Marc. Turns out that the server had been switched between Amazon instances and the DS settings hadn't been updated to point to the new instance. I'm putting monitoring in place to warn me if this happens again in the future.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
-
It's back Marc. Turns out that the server had been switched between Amazon instances and the DS settings hadn't been updated to point to the new instance. I'm putting monitoring in place to warn me if this happens again in the future.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
Pete O'Hanlon wrote:
It's back Marc.
Thanks! One of the reasons I wanted to poke around the site was because I have another hair-brained idea that applications should consist of small, either re-usable or custom code blocks that are wired together with a tool like Visio. Ultimately I envision something that is a mix between what that website, code bubbles, does, and something like lego-building blocks where you can visually wire up the data flow and events. The actual granularity would be completely flexible, and I imagine larger scale building blocks for handling things like ORM's, etc. I'm still looking for a decent visualization tool, similar to Visio. Sacha's rework of the WPF layout tool looks like a very good starting point. So I wanted to see what people had contributed for snippets to 1) see if you were already doing some of this with CodeStash and 2) to see what people were contributing. Argh. I need time!!! Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F# -
Pete O'Hanlon wrote:
It's back Marc.
Thanks! One of the reasons I wanted to poke around the site was because I have another hair-brained idea that applications should consist of small, either re-usable or custom code blocks that are wired together with a tool like Visio. Ultimately I envision something that is a mix between what that website, code bubbles, does, and something like lego-building blocks where you can visually wire up the data flow and events. The actual granularity would be completely flexible, and I imagine larger scale building blocks for handling things like ORM's, etc. I'm still looking for a decent visualization tool, similar to Visio. Sacha's rework of the WPF layout tool looks like a very good starting point. So I wanted to see what people had contributed for snippets to 1) see if you were already doing some of this with CodeStash and 2) to see what people were contributing. Argh. I need time!!! Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F#If you need a hand, just let me know as this sounds fascinating. I'm currently planning quite a reimplementation of CodeStash based on feedback we've had, and the lessons we learnt building V1, so if there's anything that you need out of it, please let me know.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
-
If you need a hand, just let me know as this sounds fascinating. I'm currently planning quite a reimplementation of CodeStash based on feedback we've had, and the lessons we learnt building V1, so if there's anything that you need out of it, please let me know.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
Pete O'Hanlon wrote:
If you need a hand, just let me know as this sounds fascinating.
I would really enjoy your participation! Can you send a private email so I can get your email address? What I'd like to do is storyboard a simple demonstration of the concept - I believe in writing the minimum amount of code necessary to get a conceptual prototype working! I'll send you the storyboard and I would like to discuss it with you. Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F# -
Pete O'Hanlon wrote:
If you need a hand, just let me know as this sounds fascinating.
I would really enjoy your participation! Can you send a private email so I can get your email address? What I'd like to do is storyboard a simple demonstration of the concept - I believe in writing the minimum amount of code necessary to get a conceptual prototype working! I'll send you the storyboard and I would like to discuss it with you. Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F#Hopefully my email got through.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
-
Hopefully my email got through.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier
Pete O'Hanlon wrote:
Hopefully my email got through.
Yes it did! I've been running around town today, but I just started putting together the concept as, what else, a Power Point slide deck! Mwahahaha! I'll email it to you as soon as I get a rough draft done. :) Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F# -
Pete O'Hanlon wrote:
Hopefully my email got through.
Yes it did! I've been running around town today, but I just started putting together the concept as, what else, a Power Point slide deck! Mwahahaha! I'll email it to you as soon as I get a rough draft done. :) Marc
Reverse Engineering Legacy Applications
How To Think Like a Functional Programmer
My Blog
Computational Types in C# and F#Excellent. I look forward to seeing it.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier