Click here to Skip to main content
15,900,906 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: Does it really gauge one's ability to code ? Pin
Slacker00722-Nov-16 23:51
professionalSlacker00722-Nov-16 23:51 
JokeRe: Does it really gauge one's ability to code ? Pin
S Houghtelin23-Nov-16 2:27
professionalS Houghtelin23-Nov-16 2:27 
GeneralRe: Does it really gauge one's ability to code ? Pin
Slacker00723-Nov-16 3:06
professionalSlacker00723-Nov-16 3:06 
GeneralRe: Does it really gauge one's ability to code ? Pin
S Houghtelin23-Nov-16 3:12
professionalS Houghtelin23-Nov-16 3:12 
GeneralRe: Does it really gauge one's ability to code ? Pin
Slacker00723-Nov-16 3:47
professionalSlacker00723-Nov-16 3:47 
GeneralRe: Does it really gauge one's ability to code ? Pin
Rage23-Nov-16 0:36
professionalRage23-Nov-16 0:36 
GeneralRe: Does it really gauge one's ability to code ? Pin
CDP180223-Nov-16 1:04
CDP180223-Nov-16 1:04 
GeneralRe: Does it really gauge one's ability to code ? Pin
Stefan_Lang24-Nov-16 22:29
Stefan_Lang24-Nov-16 22:29 
I once was asked in an interview to write a simple function, and later the interviewer asked me about two features he said he hadn't previously seen at all: one was 'Yoda conditions' Wink | ;) and the other was designing the loop in such a way that the end condition was a comparison to 0.

The latter was based on the knowledge that in assembler, comparisons to 0 are typically slightly faster than comparisons to a constant. The former was to make the compiler shout out in case of an accidental typo (writing '=' rather than '==').

After a couple of days, I was told to be overqualified for the job WTF | :WTF:

Nowadays, I'd do neither: the first is sufficiently covered by compiler warnings, the second is a kind of optimzation that a good compiler can usually do just as well, and often better. Moreover, not having to care about either makes it easier to write clean, readable code, and that is the most important thing in the long run.

I'm telling this because these kind of optimizations I used are just as obsolete nowadays as bit-twiddling, unless you really, really need to optimze your performance, and know for a fact (i. e. you have actually measured) that the compiler doesn't already optimize the code sufficiently. In C++ you can use bitfields; I am not sufficiently familar with C# to know what can be used here to provide a reasonably high-level API.

But, even if you do need bit manipulations, within a given project those should be encapsulated in just a handful of functions that take at most an hour or two to implement and test - so it's still entirely senseless to test a candidate on that kind of know-how D'Oh! | :doh:
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

GeneralRe: Does it really gauge one's ability to code ? Pin
CDP180224-Nov-16 23:01
CDP180224-Nov-16 23:01 
GeneralRe: Does it really gauge one's ability to code ? Pin
Marc Clifton23-Nov-16 3:13
mvaMarc Clifton23-Nov-16 3:13 
GeneralRe: Does it really gauge one's ability to code ? Pin
virang_2123-Nov-16 9:35
virang_2123-Nov-16 9:35 
GeneralRe: Does it really gauge one's ability to code ? Pin
Stefan_Lang24-Nov-16 22:32
Stefan_Lang24-Nov-16 22:32 
GeneralRe: Does it really gauge one's ability to code ? Pin
Kirill Illenseer23-Nov-16 20:46
Kirill Illenseer23-Nov-16 20:46 
GeneralRe: Does it really gauge one's ability to code ? Pin
SeattleC++24-Nov-16 6:27
SeattleC++24-Nov-16 6:27 
GeneralRe: Does it really gauge one's ability to code ? Pin
Stefan_Lang24-Nov-16 22:39
Stefan_Lang24-Nov-16 22:39 
GeneralRe: Does it really gauge one's ability to code ? Pin
SeattleC++25-Nov-16 4:30
SeattleC++25-Nov-16 4:30 
GeneralRe: Does it really gauge one's ability to code ? Pin
Stefan_Lang25-Nov-16 5:13
Stefan_Lang25-Nov-16 5:13 
GeneralRe: Does it really gauge one's ability to code ? Pin
JackPeacock24-Nov-16 10:35
professionalJackPeacock24-Nov-16 10:35 
GeneralRe: Does it really gauge one's ability to code ? Pin
Stefan_Lang24-Nov-16 23:00
Stefan_Lang24-Nov-16 23:00 
GeneralCCC OTD 2016-11-23 -Solved Pin
Roo Walker22-Nov-16 22:00
professionalRoo Walker22-Nov-16 22:00 
GeneralRe: CCC OTD 2016-11-23 Pin
PeejayAdams22-Nov-16 22:18
PeejayAdams22-Nov-16 22:18 
PraiseRe: CCC OTD 2016-11-23 Pin
Roo Walker22-Nov-16 22:25
professionalRoo Walker22-Nov-16 22:25 
QuestionIs this normal? Pin
Eytukan22-Nov-16 21:21
Eytukan22-Nov-16 21:21 
AnswerRe: Is this normal? Pin
V.22-Nov-16 21:24
professionalV.22-Nov-16 21:24 
AnswerRe: Is this normal? Pin
den2k8822-Nov-16 21:25
professionalden2k8822-Nov-16 21:25 

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

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   496 votes