Click here to Skip to main content
15,905,508 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: Growl Pin
PIEBALDconsult30-Aug-17 3:16
mvePIEBALDconsult30-Aug-17 3:16 
GeneralRe: Growl Pin
GKP199229-Aug-17 22:19
professionalGKP199229-Aug-17 22:19 
GeneralRe: Growl Pin
Eytukan30-Aug-17 0:18
Eytukan30-Aug-17 0:18 
GeneralRe: Growl Pin
raddevus30-Aug-17 1:32
mvaraddevus30-Aug-17 1:32 
GeneralRe: Growl Pin
enhzflep30-Aug-17 4:08
enhzflep30-Aug-17 4:08 
GeneralRe: Growl Pin
Nelek29-Aug-17 19:12
protectorNelek29-Aug-17 19:12 
GeneralRe: Growl Pin
raddevus30-Aug-17 1:32
mvaraddevus30-Aug-17 1:32 
GeneralRe: Growl Pin
Kornfeld Eliyahu Peter29-Aug-17 20:41
professionalKornfeld Eliyahu Peter29-Aug-17 20:41 
It is hard to say 'wrong' or 'right'...
The Euclidean way is much more perfect (consistent) and fits better math as science, however Donald Knuth promoted an other way (called floored division), which found to be better for computer science and used by most languages today...
Modulo operation - Wikipedia[^] - there is a nice table on the left side about programming languages...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.

GeneralRe: Growl Pin
raddevus30-Aug-17 1:27
mvaraddevus30-Aug-17 1:27 
GeneralRe: Growl Pin
GKP199229-Aug-17 22:32
professionalGKP199229-Aug-17 22:32 
GeneralRe: Growl Pin
raddevus30-Aug-17 1:29
mvaraddevus30-Aug-17 1:29 
GeneralRe: Growl Pin
Eytukan30-Aug-17 0:19
Eytukan30-Aug-17 0:19 
GeneralRe: Growl Pin
raddevus30-Aug-17 1:22
mvaraddevus30-Aug-17 1:22 
GeneralRe: Growl Pin
User 1106097929-Aug-17 18:30
User 1106097929-Aug-17 18:30 
GeneralRe: Growl Pin
CodeWraith29-Aug-17 21:43
CodeWraith29-Aug-17 21:43 
GeneralRe: Growl Pin
harold aptroot29-Aug-17 23:40
harold aptroot29-Aug-17 23:40 
GeneralRe: Growl Pin
Richard Deeming30-Aug-17 1:19
mveRichard Deeming30-Aug-17 1:19 
GeneralRe: Growl Pin
PIEBALDconsult31-Aug-17 9:00
mvePIEBALDconsult31-Aug-17 9:00 
GeneralRe: Growl Pin
PIEBALDconsult30-Aug-17 13:39
mvePIEBALDconsult30-Aug-17 13:39 
GeneralRe: Growl Pin
pth1431-Aug-17 1:41
pth1431-Aug-17 1:41 
GeneralRe: Growl Pin
Ancandune31-Aug-17 3:07
Ancandune31-Aug-17 3:07 
GeneralRe: Growl Pin
PIEBALDconsult1-Sep-17 12:05
mvePIEBALDconsult1-Sep-17 12:05 
NewsAnd then there's Bernanke... Pin
Marc Clifton29-Aug-17 10:38
mvaMarc Clifton29-Aug-17 10:38 
NewsOn Sir Richard Branson's Necker Island, Bitfury Hosts Third Annual Blockchain Summit Pin
Marc Clifton29-Aug-17 10:35
mvaMarc Clifton29-Aug-17 10:35 
GeneralFound a Way to Crash Visual Studio 2017 Pin
Rick York29-Aug-17 10:22
mveRick York29-Aug-17 10:22 

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.