1,524 reputation
712
bio website blog.marcgravell.com
location Forest of Dean, United Kingdom
age 36
visits member for 4 years, 3 months
seen Nov 10 at 20:17

Stack Overflow Valued Associate #00006

e-mail: marc.gravell@gmail.com
blog: http://blog.marcgravell.com/
talks: http://marcgravell.com/
twitter: @marcgravell
careers: marcgravell

C# programmer and MVP, with a keen interest in all things code. Particular areas:


Sep
13
awarded  Yearling
Sep
5
awarded  Good Answer
Aug
1
comment Should I use WCF, raw Sockets, or something else to send receive data from a command line app?
Protobuf itself doesn't define a message passing stack. You can of course pass protobuf messages as the payload :)
Aug
1
comment Should I use WCF, raw Sockets, or something else to send receive data from a command line app?
I'd be tempted to try simplsockets - but really, just about anything should work
Sep
13
awarded  Yearling
Feb
26
awarded  Caucus
Feb
21
awarded  Guru
Oct
23
answered Should I create repositories with special functions like getStaffActive()?
Sep
13
awarded  Yearling
Sep
7
awarded  Good Answer
Aug
30
comment How to avoid being an API programmer only?
There's a minor gotcha to 2; many libraries invest considerable amounts of time looking at performance, going far beyond what would be reasonable or sensible for ad-hoc code to look at. I would argue that even "almost always" is misleading. The best that could be argued, either for-or-against, is "sometimes". The trick, as always, is knowing which times.
Aug
13
comment Don't Use “Static” in C#?
@Артём fields are class-level variables; static fields are class-level variables that are per-type rather than per-instance
Aug
13
comment Don't Use “Static” in C#?
static is fine; static fields need to be treated very carefully
Apr
10
comment Why is there no here document syntax in .Net?
@user973810 if you mean "why isn't it a standard feature", Eric Lippert has a reply every time that question is asked: because it hasn't been fully scoped, analysed, designed, implemented, documented, tested, and deployed. Everything has cost, and every feature needs to be weighed against every other possible feature that could use the same resources, and the risk of language bloat.
Apr
10
awarded  Editor
Apr
10
comment Why is there no here document syntax in .Net?
@dasblinkenlight damned stupid auto-correct
Apr
10
revised Why is there no here document syntax in .Net?
edited body
Apr
10
comment Why is there no here document syntax in .Net?
@Will wasn't me - was a mod though. Presumably flagged over-zealously. I know how you meant it :p
Apr
10
comment Why is there no here document syntax in .Net?
@Will then we co-validate eachother. Also, I mentioned the experimental Mono stuff so: (sticks tongue out)
Apr
10
answered Why is there no here document syntax in .Net?