Hi all,
This may seem like a dumb topic, but I'm trying to learn some good coding practices.
I'm making a windows.forms application and I have reached a point where my partial Form class has 7 global variables (and their corresponding properties) declared and used - to name a few: one to determine if the app is registered, a Settings o...
Hi!
I'm using Microsoft Visual Studio 2008 for my solution. We are a couple of developers on the same project and we are using SVN. My Question is: What is a good way of including external dlls referenced from a project? And if the dll is used accross many projects in the solution, do you still put the DLL in each one of the project?
T...
hi there
i think i sort of know the answer to this, but there are always many ways to do things (some of which are clearly wrong :) )...
I have a little recursive function to find an employees manager's id. this is being used in a import script and it may be that the persons immediate manager has left (been disabled) so we need to find ...
I'm looking forward to start developing a new server side enterprise communication framework in Java and I'm wondering if anyone knows a good book on the subject?
Some best practices and advice would be welcome.
Thanks.
...
Apart from what is available in the books about Regular Expressions, are there any web sites / blogs series / etc. with a bunch of exercises that are somehow more "real world" that the ones in most of the books?
My specific problem is that currently I don't have specific needs / areas where I can exercise what I've learned about RegEx, ...
Hi
When I'm reading this tutorial I noticed the following performance tip about using structs in C#:
Unless you need reference type
semantics, a class that is smaller
than 16 bytes may be more efficiently
handled by the system as a struct.
I looked for similar question in stackoverflow but I found some questions that talks a...
What are good ways of building groups/folders?
I've tried by feature (UI for a feature plus model etc) with a common group. I've also tried by UI, model, etc.
The former keeps like things together which fits the iPhone paradigm nicely. The latter means I jump around a bit more.
What do you think?
...
Put simply, what are some good practice applications that anyone who considers him/herself a programmer should write.
...
Hey there,
I'm working on a xml service at the moment , which is a sum of 20+ other xml's from other site's services.
So at first it was just ;
GetherDataAndCreateXML();
But obviously getting 20+ other xml , editing and serving it takes time , so i decided to cache it for like 10 minutes and added a final.xml file with a DateTime a...
Is it bad practice to write inline event handlers ?
For me, I prefer use it when I want to use a local variable in the event handler like the following:
I prefer this:
// This is just a sample
private void Foo()
{
Timer timer = new Timer() { Interval = 1000 };
int counter = 0; // counter has just this mission
timer.Tick +=...