Click here to Skip to main content
15,903,856 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I hate it when I am too clever for my own good... Pin
Simon O'Riordan from UK10-Feb-14 5:09
Simon O'Riordan from UK10-Feb-14 5:09 
GeneralRe: I hate it when I am too clever for my own good... Pin
OriginalGriff10-Feb-14 5:32
mveOriginalGriff10-Feb-14 5:32 
GeneralRe: I hate it when I am too clever for my own good... Pin
James Curran10-Feb-14 1:40
James Curran10-Feb-14 1:40 
GeneralRe: I hate it when I am too clever for my own good... Pin
Richard Deeming10-Feb-14 3:48
mveRichard Deeming10-Feb-14 3:48 
GeneralRe: I hate it when I am too clever for my own good... Pin
Simon O'Riordan from UK10-Feb-14 5:07
Simon O'Riordan from UK10-Feb-14 5:07 
GeneralRe: I hate it when I am too clever for my own good... Pin
OriginalGriff10-Feb-14 5:30
mveOriginalGriff10-Feb-14 5:30 
GeneralRe: I hate it when I am too clever for my own good... Pin
RafagaX10-Feb-14 9:40
professionalRafagaX10-Feb-14 9:40 
GeneralRe: I hate it when I am too clever for my own good... Pin
Moreno Airoldi12-Feb-14 5:50
Moreno Airoldi12-Feb-14 5:50 
I had exactly the same issue a few years ago when I built a ring buffer class to calculate a moving average.

Indeed, it would be nice to be able to have something like an INumeric interface or a way to filter generics which can support arithmetic!

In the end I just used doubles, which was more than OK for my specific needs and allowed me to use the same class with ints and such. Smile | :)
In theory, there is no difference between theory and practice, but not in practice. - Anonymous

A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match. - B. Bryson

GeneralRick York share your dissatisfaction Pin
Sanmayce9-Feb-14 4:45
Sanmayce9-Feb-14 4:45 
GeneralRe: Rick York share your dissatisfaction Pin
OriginalGriff9-Feb-14 5:02
mveOriginalGriff9-Feb-14 5:02 
GeneralRe: Rick York share your dissatisfaction Pin
Sanmayce9-Feb-14 5:18
Sanmayce9-Feb-14 5:18 
GeneralRe: Rick York share your dissatisfaction Pin
R. Giskard Reventlov9-Feb-14 5:47
R. Giskard Reventlov9-Feb-14 5:47 
GeneralRe: Rick York share your dissatisfaction Pin
Sanmayce9-Feb-14 6:02
Sanmayce9-Feb-14 6:02 
GeneralRe: Rick York share your dissatisfaction Pin
R. Giskard Reventlov9-Feb-14 6:10
R. Giskard Reventlov9-Feb-14 6:10 
GeneralRe: Rick York share your dissatisfaction Pin
Sanmayce9-Feb-14 6:42
Sanmayce9-Feb-14 6:42 
GeneralRe: Rick York share your dissatisfaction Pin
R. Giskard Reventlov9-Feb-14 11:36
R. Giskard Reventlov9-Feb-14 11:36 
GeneralRe: Rick York share your dissatisfaction Pin
Richard MacCutchan9-Feb-14 6:16
mveRichard MacCutchan9-Feb-14 6:16 
GeneralSnowden: Used a Can-Opener, not a Laser-Beam PinPopular
BillWoodruff8-Feb-14 22:16
professionalBillWoodruff8-Feb-14 22:16 
GeneralRe: Snowden: Used a Can-Opener, not a Laser-Beam Pin
Mike Hankey8-Feb-14 22:53
mveMike Hankey8-Feb-14 22:53 
GeneralRe: Snowden: Used a Can-Opener, not a Laser-Beam Pin
JimmyRopes9-Feb-14 7:05
professionalJimmyRopes9-Feb-14 7:05 
GeneralOT: AVR Programmer Pin
Richard Andrew x649-Feb-14 15:47
professionalRichard Andrew x649-Feb-14 15:47 
GeneralRe: OT: AVR Programmer Pin
Mike Hankey9-Feb-14 16:08
mveMike Hankey9-Feb-14 16:08 
GeneralRe: OT: AVR Programmer Pin
Richard Andrew x649-Feb-14 17:16
professionalRichard Andrew x649-Feb-14 17:16 
GeneralRe: OT: AVR Programmer Pin
Mike Hankey10-Feb-14 5:59
mveMike Hankey10-Feb-14 5:59 
GeneralRe: OT: AVR Programmer Pin
LWessels11-Feb-14 7:38
LWessels11-Feb-14 7:38 

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.