Live data from Hacker News

Dev Compass – Programming Philosophy Quiz

treeform.github.io

41–50 of 115 posts

Re: Dev Compass – Programming Philosophy Quiz

#41
post #10

I landed right in the middle - -1, -2. Which seems weird because I’m very opinionated about a lot of this stuff. I like a lot of the questions but a lot of my answers felt like I was arbitrarily picking something. That’s probably why. Eg for testing, do I want “whatever finds bugs most effectively” or “property based testing”? Well, property based testing is usually the most time efficient way to find bugs. So, yes b…

+1 abstract and 0 Neutral. I thought the imperative vs object oriented was strange, since they are the same thing.

Yes! The number of lousy articles and blog posts I've seen that talk about "imperative, oo and functional programming"...

Re: Dev Compass – Programming Philosophy Quiz

#42
post #22
post #10

I landed right in the middle - -1, -2. Which seems weird because I’m very opinionated about a lot of this stuff. I like a lot of the questions but a lot of my answers felt like I was arbitrarily picking something. That’s probably why. Eg for testing, do I want “whatever finds bugs most effectively” or “property based testing”? Well, property based testing is usually the most time efficient way to find bugs. So, yes b…

I forget who said it, but "I don't truly understand a program until the 6th time I've written it."

Sounds like something Chuck Moore would have said. I have no idea if he did, but it made me think of him.

Re: Dev Compass – Programming Philosophy Quiz

#45

I tried to finish this quiz but just can’t. Every question I got was a very big, “it depends on context…” “Do you prefer strong static or dynamic or a mix?” Well… are we teaching 9th graders an intro to coding, writing a quick script to answer a bespoke data question, or writing a data processing library? “On algorithms I focus on…” Okay, well… do we care about performance? Where is it running? How often will it run?…

pick what you would choose by default. in case of multiple options, pick the first option you would try.

it is not a DSA test, but more like intuition test

Re: Dev Compass – Programming Philosophy Quiz

#46
post #10

I landed right in the middle - -1, -2. Which seems weird because I’m very opinionated about a lot of this stuff. I like a lot of the questions but a lot of my answers felt like I was arbitrarily picking something. That’s probably why. Eg for testing, do I want “whatever finds bugs most effectively” or “property based testing”? Well, property based testing is usually the most time efficient way to find bugs. So, yes b…

+1 abstract and 0 Neutral. I thought the imperative vs object oriented was strange, since they are the same thing.

Mmm I don’t think I agree. The way I structure code in C or rust is subtly different than how I’d write the same program in Java. OO python or Ruby looks different from data oriented Python or Ruby.

They’re all imperative programs though. “OO vs Imperative” isn’t the right name for that design choice.

Re: Dev Compass – Programming Philosophy Quiz

#47
These appear to be the possible programming philosophy descriptions (found by doing a keyword search in main.js)

Abstract/Human-Friendly: "You prefer elegant, high-level solutions that are intuitive and accessible to other developers. You likely favor functional programming, clear abstractions, and code that reads like prose."

Abstract/Computer-Friendly: "You appreciate mathematical elegance and optimal solutions. You probably enjoy languages with powerful type systems, formal methods, and code that leverages compiler optimizations."

Concrete/Human-Friendly: "You value clarity and directness in code. You prefer explicit, step-by-step solutions that are easy to understand and debug, even if they require more lines of code."

Concrete/Computer-Friendly: "You focus on efficiency and performance. You like to work close to the metal, optimize for speed and memory usage, and prefer direct control over system resources."

This string is also present in the source code, but it doesn't appear possible to trigger its display: "You have a balanced approach to programming, adapting your style based on the specific requirements of each situation."

Re: Dev Compass – Programming Philosophy Quiz

#48

I tried to finish this quiz but just can’t. Every question I got was a very big, “it depends on context…” “Do you prefer strong static or dynamic or a mix?” Well… are we teaching 9th graders an intro to coding, writing a quick script to answer a bespoke data question, or writing a data processing library? “On algorithms I focus on…” Okay, well… do we care about performance? Where is it running? How often will it run?…

That's why I hate (and never use in exams) multiple choice questions.

Re: Dev Compass – Programming Philosophy Quiz

#49
post #46

Earlier quoted context omitted.

+1 abstract and 0 Neutral. I thought the imperative vs object oriented was strange, since they are the same thing.

Mmm I don’t think I agree. The way I structure code in C or rust is subtly different than how I’d write the same program in Java. OO python or Ruby looks different from data oriented Python or Ruby. They’re all imperative programs though. “OO vs Imperative” isn’t the right name for that design choice.

The way I was taught "imperative" encompasses both "object-oriented" and "procedural", much like "declarative", the opposite of imperative, captures both functional and logic.
Post reply on HN