Click here to Skip to main content
15,907,392 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Create 25KHz Heartbeat Method Pin
Luc Pattyn29-Nov-09 8:42
sitebuilderLuc Pattyn29-Nov-09 8:42 
GeneralRe: Create 25KHz Heartbeat Method Pin
harold aptroot29-Nov-09 9:01
harold aptroot29-Nov-09 9:01 
GeneralRe: Create 25KHz Heartbeat Method Pin
Luc Pattyn29-Nov-09 9:38
sitebuilderLuc Pattyn29-Nov-09 9:38 
GeneralRe: Create 25KHz Heartbeat Method Pin
Dave Kreskowiak30-Nov-09 7:38
mveDave Kreskowiak30-Nov-09 7:38 
GeneralRe: Create 25KHz Heartbeat Method Pin
harold aptroot30-Nov-09 7:56
harold aptroot30-Nov-09 7:56 
GeneralRe: Create 25KHz Heartbeat Method Pin
Luc Pattyn30-Nov-09 9:35
sitebuilderLuc Pattyn30-Nov-09 9:35 
GeneralRe: Create 25KHz Heartbeat Method Pin
harold aptroot30-Nov-09 9:37
harold aptroot30-Nov-09 9:37 
QuestionCoding Style Question Pin
#realJSOP28-Nov-09 2:43
professional#realJSOP28-Nov-09 2:43 
I just got a new job doing (gak!) VB, and I'm going through the existing code base trying to get my bearings. I've run across something that I'm not sure I agree with.

They have a class which has a property that contains about 60 lines of code, and this code runs through some financial calculations to come up with a value that is returned. I guess one good thing is that no methods or data is accessed that exists outside this class.

I've always been of the opinion that a property shouldn't perform anything more than simple get/set functionality, and extra processing should be handled in a method. Indeed, I've been bitten by this in the past, so I take extreme steps to avoid it now.

What do you guys think?

.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

AnswerRe: Coding Style Question Pin
Luc Pattyn28-Nov-09 3:13
sitebuilderLuc Pattyn28-Nov-09 3:13 
GeneralRe: Coding Style Question Pin
Eddy Vluggen28-Nov-09 8:52
professionalEddy Vluggen28-Nov-09 8:52 
GeneralRe: Coding Style Question Pin
Luc Pattyn28-Nov-09 9:20
sitebuilderLuc Pattyn28-Nov-09 9:20 
AnswerRe: Coding Style Question Pin
Rozis28-Nov-09 4:39
Rozis28-Nov-09 4:39 
GeneralRe: Coding Style Question Pin
#realJSOP28-Nov-09 7:40
professional#realJSOP28-Nov-09 7:40 
AnswerRe: Coding Style Question Pin
Not Active28-Nov-09 4:49
mentorNot Active28-Nov-09 4:49 
AnswerRe: Coding Style Question Pin
dan!sh 28-Nov-09 5:52
professional dan!sh 28-Nov-09 5:52 
AnswerRe: Coding Style Question Pin
T210228-Nov-09 22:55
T210228-Nov-09 22:55 
AnswerRe: Coding Style Question Pin
vtchris-peterson1-Dec-09 9:39
vtchris-peterson1-Dec-09 9:39 
Questionwait process , please help me Pin
darkyro28-Nov-09 2:12
darkyro28-Nov-09 2:12 
AnswerRe: wait process , please help me Pin
#realJSOP28-Nov-09 2:44
professional#realJSOP28-Nov-09 2:44 
AnswerRe: wait process , please help me Pin
darkyro28-Nov-09 3:35
darkyro28-Nov-09 3:35 
GeneralRe: wait process , please help me Pin
darkyro8-Dec-09 4:08
darkyro8-Dec-09 4:08 
QuestionUsing Ngen.exe : where is the VS Studio command prompt for VS 2010 beta 2 ? Pin
BillWoodruff27-Nov-09 6:02
professionalBillWoodruff27-Nov-09 6:02 
AnswerRe: Using Ngen.exe : where is the VS Studio command prompt for VS 2010 beta 2 ? Pin
#realJSOP28-Nov-09 2:47
professional#realJSOP28-Nov-09 2:47 
GeneralRe: Using Ngen.exe : where is the VS Studio command prompt for VS 2010 beta 2 ? Pin
BillWoodruff28-Nov-09 5:28
professionalBillWoodruff28-Nov-09 5:28 
GeneralRe: Using Ngen.exe : where is the VS Studio command prompt for VS 2010 beta 2 ? Pin
#realJSOP28-Nov-09 7:37
professional#realJSOP28-Nov-09 7:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.