Click here to Skip to main content
15,884,679 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: Wordle Hurdle Pin
Greg Utas31-Mar-22 1:30
professionalGreg Utas31-Mar-22 1:30 
GeneralRe: Wordle Hurdle Pin
0x01AA31-Mar-22 2:12
mve0x01AA31-Mar-22 2:12 
GeneralRe: Wordle Hurdle Pin
Kirk 103898212-Apr-22 13:19
Kirk 103898212-Apr-22 13:19 
GeneralGetting the algorithm right Pin
trønderen30-Mar-22 10:21
trønderen30-Mar-22 10:21 
GeneralRe: Getting the algorithm right Pin
0x01AA30-Mar-22 10:28
mve0x01AA30-Mar-22 10:28 
GeneralRe: Getting the algorithm right Pin
kalberts31-Mar-22 6:13
kalberts31-Mar-22 6:13 
GeneralRe: Getting the algorithm right Pin
0x01AA31-Mar-22 7:23
mve0x01AA31-Mar-22 7:23 
GeneralRe: Getting the algorithm right Pin
kalberts31-Mar-22 9:37
kalberts31-Mar-22 9:37 
Still, if you spend 80% of your mental effort on algorithmic decisions, it sounds to me as if you consider e.g. choosing an if - elseif - else sequence over a switch statement part of 'algorithm design'. Or while(){} versus do{}while(). I see those as trivial coding details.

I'd say that if you by a short glimpse on the alternatives can say that they have the same complexity, in the big O sense, then there is no significant algorithmic development from one to the other.

I am probably too ambitious. I really wish that University professors required any hand-in code taking variable size input to be followed by documentation stating the O() complexity of the function. Actually, I never ever saw any lecturer, professor or lower level, make such requirements. I wish it not only for college homework, but to be the norm for any published library or source code. It really should be part of our professional code of conduct to always include complexity as a basic part of the documentation.

You might develop an algorithm of the same complexity as an existing one for the same task. It may have other traits, e.g. execution complexity and data space complexity are not necessarily parallell. But trivial code changes / decisions affect neither.
GeneralRe: Getting the algorithm right Pin
Mike Hankey30-Mar-22 10:44
mveMike Hankey30-Mar-22 10:44 
GeneralRe: Getting the algorithm right Pin
kalberts31-Mar-22 6:18
kalberts31-Mar-22 6:18 
GeneralRe: Getting the algorithm right Pin
Gary R. Wheeler30-Mar-22 13:34
Gary R. Wheeler30-Mar-22 13:34 
GeneralRe: Getting the algorithm right Pin
BernardIE531731-Mar-22 3:53
BernardIE531731-Mar-22 3:53 
GeneralRe: Getting the algorithm right Pin
kalberts31-Mar-22 6:27
kalberts31-Mar-22 6:27 
GeneralRe: Getting the algorithm right Pin
BernardIE531731-Mar-22 7:15
BernardIE531731-Mar-22 7:15 
GeneralRe: Getting the algorithm right Pin
stheller27-Apr-22 0:37
stheller27-Apr-22 0:37 
GeneralRe: Getting the algorithm right Pin
BernardIE53177-Apr-22 2:13
BernardIE53177-Apr-22 2:13 
GeneralRe: Getting the algorithm right Pin
stheller27-Apr-22 7:05
stheller27-Apr-22 7:05 
GeneralRe: Getting the algorithm right Pin
honey the codewitch31-Mar-22 4:00
mvahoney the codewitch31-Mar-22 4:00 
GeneralRe: Getting the algorithm right Pin
kalberts31-Mar-22 7:08
kalberts31-Mar-22 7:08 
GeneralRe: Getting the algorithm right Pin
honey the codewitch31-Mar-22 7:13
mvahoney the codewitch31-Mar-22 7:13 
GeneralRe: Getting the algorithm right Pin
r_hyde31-Mar-22 10:34
r_hyde31-Mar-22 10:34 
GeneralRe: Getting the algorithm right Pin
englebart1-Apr-22 15:38
professionalenglebart1-Apr-22 15:38 
GeneralRe: Getting the algorithm right Pin
Derek Hunter31-Mar-22 20:26
Derek Hunter31-Mar-22 20:26 
GeneralRe: Getting the algorithm right Pin
SeattleC++1-Apr-22 5:30
SeattleC++1-Apr-22 5:30 
GeneralRe: Getting the algorithm right Pin
Gerry Schmitz1-Apr-22 14:28
mveGerry Schmitz1-Apr-22 14:28 

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.