2,010 reputation
1913
bio website grahampeel.com
location
age
visits member for 3 years, 5 months
seen 2 days ago

Software Developer - currently working in the Microsoft ASP.NET Stack with C#, MVC, JavaScript, CSS, HTML


Oct
13
revised What is the best way to create HTML in C# code?
added 684 characters in body
Oct
3
comment Should I denote that a method satisfies an interface?
What if the interface drops the method from its signature later on? Then, your comment is incorrect and confusing (as all comments become eventually) and no compiler check will catch it.
Sep
25
comment Is there ever a reason to do all an object's work in a constructor?
"Unless they are told to do so, future programmers will not be inclined to surround these constructor calls with defensive code." - Good point.
Sep
24
awarded  Autobiographer
Sep
17
comment Where to put database table/column names?
I agree with the idea that general 1 class per table is the way to go here. I don't necessary think they need to be static classes, but this is a better idea than a single static class to keep track of all those things. In my current project, we've got 1 class per View or Sproc in our mapping layer, and its pretty easy to get your head around that.
Sep
4
comment C# Single Instance of a Form
Pretty funny that the question was "closed as unclear what you're asking" after an answer was given which was later accepted with a "thank you!" from the OP.
Sep
3
comment Translating views in MVC
Alas, my attempt at sarcasm has sailed over yet another set of heads. Clearly my career choice as a programmer instead of a comedian was the correct one. I would have thought "HTML Cinco" (Spanish for "HTML5") would have been a dead giveaway for the joke.
Sep
3
comment Translating views in MVC
FYI <fuente colorido="negro"> is fully supported in HTML Cinco, so its not the best example.
Sep
3
comment What to do if you're stuck on a project because you got dumped in without the information you need?
Welcome to the world of programming, my friend. There is virtually no such thing as "complete project specifications/documentation".
Sep
2
awarded  Scholar
Sep
2
accepted How to make the members of my Data Access Layer object aware of their siblings
Aug
22
comment How to make the members of my Data Access Layer object aware of their siblings
What IoC container do you typically recommend/use for C# projects, insta?
Aug
21
revised How to make the members of my Data Access Layer object aware of their siblings
edited title
Aug
21
asked How to make the members of my Data Access Layer object aware of their siblings
Aug
21
comment Interface (contract), Generics (universality), and extension methods (ease of use). Is it a right design?
Yep, '.Cast<>()' would be more terse. If there's only 1 way to convert from one type to another, a conversion framework seems like overkill, which is why I suggested this approach. Another approach would be to look at something like AutoMapper, which allows for mapping logic to be registered globally and re-used with very high performance for lots of type conversions.
Aug
21
answered Interface (contract), Generics (universality), and extension methods (ease of use). Is it a right design?
Jul
28
comment How a VB6 programmer can update his skills and get qualified for the current job opportunities in the USA?
"So how Should I update my skills to be qualified for a windows application developer?" -- If this is what you want to do, then I don't know why Basile is pointing you into the open source world. Learn WCF/WPF/.NET and stay on the Microsoft stack.
Jul
28
comment Generally speaking, is it better to make all the functional parts or get UI working first - or a mix of the two?
I've been designing UI's for the bulk of my programming career and NOT ONCE have I had a client assume that a prototype UI meant that the software was 'almost done'. It sounds to me like the presenters of wireframe UI's are not doing a good job explaining the wireframes up front if the clients are somehow confused into thinking that the project is almost done.
Jul
25
comment Why would programmers ignore ISO standards?
Yup. I'm in 'Murica too and I've never even had to care about localization yet.
Jun
25
comment How viable is to create a mini documentation inside the source code
+1 for "Comments lie. They quickly get out of date." This is the primary problem with comments. The ONLY thing that can tell you what the code really does is the code itself. Reserve comments for WHY you are coding a certain way, like adherence to business rules and whatnot.