|
I'm sure this question was less than 5% of the coding test, and less than 1% of the interview, so it might even have been an appropriate question by this measure.
Coding questions don't measure ability very well, but they do quickly exclude a particular kind of poseur, who can't code a lick. It felt very strange to me when I discovered that people who know absolutely nothing about programming apply for programming jobs, but it has happened to me.
It's also a problem that there aren't any measures that are better than coding questions. There aren't any tests of developer skill that can be successfully applied in a short interview.
|
|
|
|
|
I never found 'code this' type of tasks to be very useful in an interview, since there's simply not enough time for a task that would tell you something useful about the applicant's real coding skills.
However, analyzing a given piece of code can be quite good, since you can hide some subtleties and special techniques that you care about in the code and then wait to see what the applicant can find out about it.
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)
|
|
|
|
|
If you are writing a general ledger then no, it's not that relevant other than demonstrating a basic knowledge of boolean algebra and numerical anaysis (i.e. truncation and how it affects accuracy). If the job was embedded, especially bare iron, it's a core competency and if you missed it you better go back to selling shoes on a website.
Any time you interface to a foreign app or device it's quite likely you'll come across situations like that. Even if it's C#, when you build that production line tester that interfaces to scales, spectrometers and time of flight sensors you'll have to know boolean operations.
And if you don't understand boolean operations, how do you build SQL queries or LINQ statements?????
|
|
|
|
|
JackPeacock wrote: If the job was embedded
I've done my share of embedded coding, and never had any need to use bit manipulation functions. Those were encapsulated in the low level actuator and sensor drivers. And that was just a fraction of the code. Yes, in a team of ~10 devs, one engineer (not a CS guy) worked on that level. But most of his time was spent adjusting the timings, or fixing the functionality that wasn't quite working the way it was intended (or simply on higher level stuff), not fiddling with bits. Once the bit-manipulating code was in place, it hardly got changed anymore.
What I'm saying is that even where you really need these operations, they only take up a very limited fraction of the total development work! I don't really see how it could ever be so important to make it a criterion for an applicant.
JackPeacock wrote: And if you don't understand boolean operations, how do you build SQL queries or LINQ statements?????
Well, first of all you need to understand that bit operations go quite a way beyond simple boolean logic in the same way that evaluating exponentials manually goes way beyond simple addition: You can develop the understanding of one from the other - but that doesn't mean it's the same level of knowledge.
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)
|
|
|
|
|
Best east west deli stews an antelope. (10)
modified 23-Nov-16 4:26am.
|
|
|
|
|
Wildebeest (anagram of best + e(ast) + w(est) + deli leading to a creature often found on the plains of Torbay).
Slogans aren't solutions.
|
|
|
|
|
Indeed it is!
Your turn tomorrow.
modified 23-Nov-16 5:27am.
|
|
|
|
|
Every 6 months or so, one fine day when I wake up from my sleep, I find some segments of my memory erased or bugged like bad sectors. For example, All of a sudden I find it hard to recollect specific passwords/Pins for some accounts precisely. It doesn't go blank, but it gets distorted with the bunch of password-mixes I use. And some good (Non-native lang) words that were in usage very well, goes blurred out. I think hard to recollect it while speaking.
I seem to get alright in couple of days, but I do manually restore the forgotten bits.
Should I be worried? I'm worried in deed, as I get to see a lot of threatening words like Dementia , Alzheimer & so many things.
(And no it's not a hangover. It doesn't usually happen after a booze).
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
an occasional black out is normal I think (although it should restore itself rather quickly) , if it happens regularly you might want to see a doctor and get rid of the doubt.
|
|
|
|
|
I can't answer if that is normal, but that happens to me too. Can be just tiredness, or simply that in our own experience we are exceending our short term memory so each day something gets "swapped out".
DURA LEX, SED LEX
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
I don't know. As a matter of fact, I can't even remember what you asked for.
|
|
|
|
|
It is normal. Information overflow leads to overwriting less needed informations. The brain has limited size in short term and medium term capacity.
The art is to utilize the long term brain, because it is only uses around 10%.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
A C Doyle got it right when he stated, by Sherlock Holmes words, that the brain isn't illimitate but it's like a repository. A well organized repository where useless information are weeded out and the useful ones are well sorted is an efficient brain.
Then I still hold fast to bits and scraps of old equipment I had 20+ years ago in my storage closet because "you might never know", so I know the theory but can't apply it to myself
DURA LEX, SED LEX
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
modified 23-Nov-16 5:07am.
|
|
|
|
|
I have amazing amounts of useless information in my brain, how do I debug that weeding algorithm?
|
|
|
|
|
Weeding in?
AFAIK smoking pot destroys long and short temr memory, and the orietnation sense. That's one of the reasons I never smoked. I'm already a klutz.
DURA LEX, SED LEX
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
|
I cannot remember that happening to me!
Seriously, I think it happens to most of us. Sometimes in front of the ATM I go like: "Er... Eh... what the elephant is my PIN?".
... such stuff as dreams are made on
|
|
|
|
|
"Lounge", you say?
What is this Lounge, and why am I here?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I think a of it is simple information overload combined with the fact that these things are simply hard to remember.
Traditionally, we've grown up with little mnemonics like Richard of York and Every Good Boy etc., that's how we were taught to deal with sequences. Passwords and PINs don't lend themselves too easily to that kind of thing.
If anything is unusual, I'd have thought that it's that it only happens to you every six months.
Slogans aren't solutions.
|
|
|
|
|
Yeah it is normal, it's obviously normal... Chill
I don't want myself to get called the abnormal... No I can't even think about it
|
|
|
|
|
Vunic wrote: It doesn't usually happen after a booze
So you know what to do.
|
|
|
|
|
Time to learn to tattoo yourself... and buy some mirrors... and go naked all day to see those tattoos... you will probably want to live in a warm place...
Seriously... go and visit your doctor... and just clear this out... we are a bunch of programmers (at best) who don't know anything about medicine (mostly*)...
* To avoid problems with all the doctors we have here...
|
|
|
|
|
Daylight saving causing jet-lag?
|
|
|
|
|
|
I don't think you should be too worried. That has happened to me a few times and I find the fear of temporarily forgetting theses things only increases the problem.
I recently had one of these brainfarts and just couldnt get my password right. I was so certain of it that I couldnt identify what was wrong. Mostly because when I type that PW its from a combination of memory and muscle memory.
What I did was indulging myself in other activities forcing me to not think about it or fretting and then a few hours after I felt "reset" I got it right. Then I reviewed what I misstyped and facepalmed.
|
|
|
|