4,687 karma · joined Dec 4, 2021 (4y ago) · 1,693 submissions
comment 4y ago · link · parent
The point where I think we disagree, and please correct me if I'm wrong, is: are LC style questions an effective testing method for these skills.
I say no, they are not, for 2 reasons:
a) implementing something like a non-trivial graph algorithm doesn't come up often in day-2-day work, and if it comes up, even some experienced developers look it up, just to make sure they got it right from memory. To borrow your dishwasher-analogy: I want the repairmen to know how a generalized dishwasher works, so he can repair Miele, Bosch, whathaveyou, but I don't need him to be able to program the DWs microcontroller on a whiteboard, or forge one of the pipes with nothing but a firepit, a hammer, anvil, crucible and some copper-scrap.
b) since all these questions are known problems, both in their solution AND their usage as test questions, we are facing a "learning for the test" dilemma: people can, and many do, just memorize these answers to pass interviews, same as many students in standardized test environments just learn how to pass the tests.
This is fundamentally different from understanding the subject. Again, I agree with you: I want someone who can answer these questions because he can apply generalized knowledge about algos and data-structures.
But I am not confident tests which rely on pre-fabricated and well known puzzles will give me that.
comment 4y ago · link · parent
So if I understand how current visions of this work then I have a question...
As of right now, Ethereum adds a new block every 15 seconds. That translates to 30E6 "gas" (the measure of the amount of compute usable in the "Solidity" language), which adds up to about 600.000 algorithmic primitives (like adding 2 numbers).
As for storage, because the "everything" includes not only computation but of course also data: about 600 "gas" are needed to store a single byte, so storing 1MB would need 300 seconds, that is ofc under the assumption that no computations are running during that time.
Given the amount of computations and storage we need in our modern web...how are blockchains and their tokens supposed to accomodate the demand again?
comment 4y ago · link · parent
Knowing how to implement some arcane algorithm is also not what you should be testing for. It tells me ZERO about this persons ability to code in the real world.
It may not even tell me they understand the algorithm...they may have just memorized the pseudocode implementation well enough.
> You really want to uncover ability (IQ) not familiarity.
a) Cognitive ability isn't accurately measureable. Not with IQ tests, and certainly not with standardized puzzle questions the internet is making lists of which one to learn to crack interview @ company X
b) Familiarity is EXTREMELY important when working with complicated systems.
comment 4y ago · link · parent
Do crossword puzzles test my ability to write novels? No they don't, because remembering some obscure name for a medieval dignitarys hat of office doesn't mean I can write compelling immersive stories.
By the same logic, memorizing how some obscure algorithm is implemented doesn't test my ability to think about real world applications or code in the context of a large project.
comment 4y ago · link · parent
And can you guarantee that this is what LC questions test for?
We are talking about questions here were the answers are known, their usage for interviews is known, and curated lists of questions commonly used for interviews exist .
So yeah, they may test for a good grasp of algorithms, data structures and math.
But they can also just be memorized and replayed at will given enough time.
comment 4y ago · link · parent
Because its easier than talking to candidates and because many companies emulate FAANG, regardless of wheter that makes sense or not. If I am that big a deal, I NEED a system to filter, because I will always have a surplus of applicants, no matter what the market looks like. If I am a small company, or even a medium sized shop that has difficulty filling positions anyway, then doing the same doesn't make sense.
Not because my standards are lower, but the amount of applications I get are. Same as I don't build a webservices architecture to handle 10E6 req./h when it will serve less than a 1000, it doesn't make sense to apply methods designed for "hiring at scale" if I am not operating at that scale.
> What is a better solution?
Checking credentials, talking to people, about their past work, about how they would tackle example problems in the real world, their view on solutions.
aka. doing actual interviews instead of taking the easy route and just reading a puzzle question from a sheet of paper and waiting behind them with a stopwatch.
If I want competent people, I need to do competent hiring.
comment 4y ago · link · parent
Making commits to FOSS a general requirement in interviews would exclude a whole lot of highly skilled and experienced engineers, limit the chances of beginners, and lead to loads and loads of BS open source projects that exist solely to fatten resumes.
comment 4y ago · link · parent
Most of the population are not programmers.
For someone who already knows a PL or 2, the picture is very different: There are maybe 32-50 questions that get repeated in almost every "code puzzle"-style interview. Which ones these are is actively monitored and curated in several communities.
A person intelligent enough to know a PL, can simply memorize these questions. "Learning for the test" is a standard, and successful, strategy to game predictable test environments. We see it in educational systems using standardized multiple choice tests, why would it be different in bad code interviews?
comment 4y ago · link · parent
I still remember the time when it was deemed normal, or at least common, to email around diffs and patches in a dev team, or upload everything to the "code server" in little directories with iso-timestamps as names.
Not taking care of code properly, aka. in a VCS, is a disaster, no matter if its C, SQL or utility bash-scripts.
comment 4y ago · link · parent
1. Senior position with junior-compensation.
2. Junior position with intern-compensation (but senior skill profile)
3. No intern positions at all, or, if there are intern positions, they demand 10E12 years of job experience for the exciting opportunity to haul cables and monitors around all day every day...which is not only badly compensated, bu also provides ZERO useful experience for the next job.
comment 4y ago · link · parent
"There are only two kinds of languages: the ones people complain about
and the ones nobody uses."
Just a few examples;C++ gets tons of bad words. It's still one of the most important languages.
Java is not exactly everyones darling either (eg. I hate Java with a passion), and is still among the top3 of highest in-demand languages in the World, and will likely remain so for the forseeable future.
Python (a language I love) is critizized a lot for its flaws (rightfully so) and is currently the top language in the TIOBE index.
Golang never hears the end of it for valueing simplicity and readability over complex features and "cleverness", and yet more and more big Software is written in it every day, the ecosystem is thriving, the positions are well paid, and there is no sign of slowing down.
comment 4y ago · link · parent
The more one knows about the software, the better one can judge what software can be entrusted with what information.
comment 4y ago · link · parent
They also rely heavily on the public being educated enough, interested enough and participatory enough to reflect bad behavior in their voting decisions.
None of this however is an argument for less regulation. It is an argument for education and political participation.
comment 4y ago · link · parent
1. Regulated Capitalism
2. State Funded Infrastructure.
ad 1) Capitalism isn't a bad system per-se, but needs to be kept in check. States need to ensure that un-competitive behavior is kept in check, that too-large monopolies are reigned in, that consumers are protected, that fair taxes are paid and that private wealth has no undue influence on politics.
ad 2) Structural systems required for a society to function properly have to be, at least partially, state funded, state controlled, or even state owned, thus ensuring the availability and baseline quality of structural services to as many citizens as possible, with regard for revenue generation being a secondary concern.
comment 4y ago · link · parent
And code reviews rely on the fact that both developer and reviewer can read and understand the code. If the developer can use the code to invent a completely new language, it will be difficult to review its correctness. The job of the reviewer is to review the code, not learn a new language I just came up with.
And since we are not using Lisp we don't have a problem with it nor do we blame it for anything ;-)
comment 4y ago · link · parent
Yes, and there is a good reason for that: Most modern Software spanning 100k's lines of code or more are developed in teams. Often these teams need to cooporate with other teams. Often the code has to be picked up 2-3 years later by a different team.
The programming languages used to write these LOC's need to accomodate this, and that means they need to provide A COMMON LANGUAGE all the people in all these teams understand, and will still understand in 2, 3, 5 or 10 years. I recently went through the code of several GNU coreutils, some of which are more than 2 decades old. Doesn't matter, I know C, so I can read and understand these programs codebases. Even if something is written in a language I am not that familiar with, if it is at least somewhat like the languages I know, I can still grasp what is going on.
In LISP, we have the flexibility to create our own domain specific languages. That's great. That's powerful. That's AWESOME (no sarcasm here, it really is).
But that's also dangerous, because the guy who wrote the code I need to work on 3 years later, might have a completely different mindset what the language to tackle the problem with should look like.
So before I can read his code, I have to understand the language he created, the guy who works with me has to understand the language I create, and if we a/l crKDte o0ur ß?wn luanangua!a___ges eviri tim3 __WE__ ::h:a:v:e:: t.insert("o") solve a problem, we can easily see how that may lead to problems.
Long story short: Having a language that can be extended at will is great and powerful and awesome, but it also creates problems. If every carpenter invented his own tools, each of which have to be learned before they can be used, then it becomes really hard to work together on a big house.
comment 4y ago · link · parent
Who could have seen that coming.
comment 4y ago · link · parent
The spec doesn't, but the actual compiler implementation does. If the compiler is not allowed to re-order fields, they remain in the order the programmer specified in the code. That's why the fix in the article works in the first place.