1,512 reputation
218
bio website beedogs.com
location East Midlands
age 40
visits member for 1 year, 7 months
seen 5 hours ago

20+ years of experience in IT with various platforms, languages, databases and industries.


5h
comment What is the best source/online tool/compiler to start kids on programming?
I suggest avoiding CBT sites. Better to code with real tools. A bit of a steep learning curve at first but far better in the long run.
Jul
8
answered How to test and optimize when you can't reproduce the environment?
Jun
17
comment Property value validations on POCO entities
Yes, it would make sense to do the validation in the object itself in that case. ID length would be a static property or similar which could be pushed through to the form at runtime.
Jun
17
comment Formulate release notes consistently
That is the best approach in my experience.
Jun
17
comment Property value validations on POCO entities
There are various ways to handle this client side. E.g. if you're using a textbox to enter the ID, you can set the MaxLength property to 2.
Jun
17
answered Formulate release notes consistently
Jun
17
revised Property value validations on POCO entities
added 85 characters in body
Jun
17
answered Property value validations on POCO entities
Jun
13
awarded  Nice Answer
Jun
6
comment How often should saving to disk occur in an automatically saving text editor?
Impossible to say. Set a default but make it configurable.
May
6
revised Is converting/casting a boolean to int a good idea?
Added a pertinent tag
May
6
suggested suggested edit on Is converting/casting a boolean to int a good idea?
May
2
comment As an interviewer, asking a candidate to find errors in small sample code. Is this fair?
@KonradMorawski Forgive me, but my comment was made in jest I can assure you... :)
May
2
comment As an interviewer, asking a candidate to find errors in small sample code. Is this fair?
You don't think someone printing off some code, dropping it off at your desk and then expecting you to find all the issues without a computer in a limited time window whilst management look on is unfair? Are you the "Code Warrior" the ancients speak of? :)
May
2
answered As an interviewer, asking a candidate to find errors in small sample code. Is this fair?
Apr
16
comment How to measure team productivity over time using consistent story sizes?
Stories aren't a consistent size so let's nip this fantasy in the bud right now. Over time, your burn down chart should tell you where you are within an iteration. If this turns out to be way off the mark, investigate why in the retrospective.
Apr
15
comment Picking a card from a shuffled deck
Ah, OK. I was thinking anything in main had to go through the IO monad but you're right, I can just do: main = print $ cardTrick [My 52 random ints]. Thanks man! :)
Apr
10
comment Picking a card from a shuffled deck
Wow, this whole pure vs impure thing is kicking my butt. You can't seem to do anything pure with random since it isn't (or shouldn't be) repeatable. I can't even seem to pass the random data into the program as that then becomes impure. For now I've got another imperative program generating random numbers list which I then drop into the source code. Not perfect, but it'll have to do me for now.
Apr
9
comment Picking a card from a shuffled deck
OK, maybe if I just write something that takes a list and swaps two values I can call this repeatedly rather than use IO. Or at least until I've learnt a little more Haskell.
Apr
9
comment Picking a card from a shuffled deck
OK, thanks. I wasn't really sure of what I was doing beyond deck=shuffle cards