Click here to Skip to main content
15,443,778 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: CS-insanity and things that make me want to quit Pin
Richard MacCutchan21-Oct-20 6:43
mveRichard MacCutchan21-Oct-20 6:43 
RantRe: CS-insanity and things that make me want to quit Pin
W Balboos, GHB21-Oct-20 7:02
mveW Balboos, GHB21-Oct-20 7:02 
GeneralRe: CS-insanity and things that make me want to quit Pin
OriginalGriff21-Oct-20 7:26
mveOriginalGriff21-Oct-20 7:26 
GeneralRe: CS-insanity and things that make me want to quit Pin
W Balboos, GHB21-Oct-20 7:30
mveW Balboos, GHB21-Oct-20 7:30 
GeneralRe: CS-insanity and things that make me want to quit Pin
den2k8821-Oct-20 20:47
professionalden2k8821-Oct-20 20:47 
GeneralRe: CS-insanity and things that make me want to quit Pin
User 1493685321-Oct-20 7:32
MemberUser 1493685321-Oct-20 7:32 
GeneralRe: CS-insanity and things that make me want to quit Pin
W Balboos, GHB21-Oct-20 7:54
mveW Balboos, GHB21-Oct-20 7:54 
GeneralRe: CS-insanity and things that make me want to quit Pin
OriginalGriff21-Oct-20 8:06
mveOriginalGriff21-Oct-20 8:06 
Why do you assume that there is only one solution? There is one algorithm for the GoL, but there are a huge number of different ways to implement it, many of which don't use a single for loop, much less four!
And that before you even start thinking about multithreading solutions, pointer arithmetic, and so forth.

Think about the first "only way to do it" for GoL: why do you want a 2D "board" when you can use a 1D array much more efficiently?
Think about Bubble Sort: there are as many different way to implement it as there are developers actually writing the code! And when you've written it, it's obvious that it's not very efficient for most "real world" collections to be sorted, and that a couple of simple changes would vastly improve the efficiency, and implementing that and a testing framework to measure the improvements.

Going in with the mindset of "it's all been done" is a major limit on how you can think about problems, let alone solutions...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: CS-insanity and things that make me want to quit Pin
User 1493685321-Oct-20 8:50
MemberUser 1493685321-Oct-20 8:50 
GeneralRe: CS-insanity and things that make me want to quit Pin
DerekT-P21-Oct-20 10:51
professionalDerekT-P21-Oct-20 10:51 
GeneralRe: CS-insanity and things that make me want to quit Pin
User 1493685321-Oct-20 10:52
MemberUser 1493685321-Oct-20 10:52 
GeneralRe: CS-insanity and things that make me want to quit Pin
User 1493685321-Oct-20 16:43
MemberUser 1493685321-Oct-20 16:43 
GeneralRe: CS-insanity and things that make me want to quit Pin
DerekT-P21-Oct-20 22:55
professionalDerekT-P21-Oct-20 22:55 
GeneralRe: CS-insanity and things that make me want to quit Pin
Matt Bond22-Oct-20 9:15
MemberMatt Bond22-Oct-20 9:15 
GeneralRe: CS-insanity and things that make me want to quit Pin
User 1493685322-Oct-20 9:22
MemberUser 1493685322-Oct-20 9:22 
GeneralRe: CS-insanity and things that make me want to quit Pin
loctrice22-Oct-20 4:10
professionalloctrice22-Oct-20 4:10 
GeneralRe: CS-insanity and things that make me want to quit Pin
loctrice22-Oct-20 4:09
professionalloctrice22-Oct-20 4:09 
GeneralRe: CS-insanity and things that make me want to quit Pin
User 1493685322-Oct-20 9:19
MemberUser 1493685322-Oct-20 9:19 
GeneralRe: CS-insanity and things that make me want to quit Pin
loctrice22-Oct-20 9:27
professionalloctrice22-Oct-20 9:27 
GeneralRe: CS-insanity and things that make me want to quit Pin
User 1493685322-Oct-20 9:53
MemberUser 1493685322-Oct-20 9:53 
GeneralRe: CS-insanity and things that make me want to quit Pin
loctrice22-Oct-20 10:47
professionalloctrice22-Oct-20 10:47 
GeneralRe: CS-insanity and things that make me want to quit Pin
User 1493685322-Oct-20 11:30
MemberUser 1493685322-Oct-20 11:30 
GeneralRe: CS-insanity and things that make me want to quit Pin
Kris Lantz21-Oct-20 7:56
professionalKris Lantz21-Oct-20 7:56 
GeneralRe: CS-insanity and things that make me want to quit Pin
User 1493685321-Oct-20 8:50
MemberUser 1493685321-Oct-20 8:50 
GeneralRe: CS-insanity and things that make me want to quit Pin
trønderen22-Oct-20 0:42
Membertrønderen22-Oct-20 0:42 

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.


Straw Poll

What topics would you like to learn more about?
Contributed by Marc Clifton.
  Results   403 votes