• 21 Posts
  • 563 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle

  • What OOP refers to is not “writing code” but “designing the code.” Everyone can write a book. Even I can. It will be a fucking shitty book, because I don’t know how to create suspense, give depth to characters, or any of that stuff. But it’s still a book. Writing code is easy. Writing good code is hard. If you want a program to fetch the current outside temp from an API you could throw together random lines of code that vaguely does what you want that you found on stackoverflow and iterate until it works. Will it catch edge cases? No. Will it output in a pretty format? No. Will it be maintainable? No. Will it be the next Facebook? Hard no. But you did write code.

    Writing code is easy. Writing good code is hard. And that is why we have door stoppers called “Clean Code” to help us on our way. You might notice that the “how to code” books aren’t much thicker than a a pamphlet. But if it ever as much as touches on the topic of good code it will make for a door stopper worthy of a nuclear bunker’s entrance.



  • Jeg har selv mærket en kæmpe forskel nærmest natten over. Mit feed var ulideligt. Jeg bruger ikke LinkedIn så meget selv, men når man er jobsøgende er der ikke meget vej udenom. Nu får jeg flere opslag fra mine connections og ingen opslag som “I går spildte min datter sin kakao i bilen. Det lærte mig disse ting omkring at drive et startup”



  • Danish here: This isn’t exactly a foreign concept. All of my project exams in University had a written part (ranging from 50-150 pages), sometimes a technical part, and then an oral part where we defended the report. That’s one per semester.

    Defending an essay would likely not take more than 15min, 3-4 hours was enough to probe a group of 7 to figure out who should get what grade based on contribution (or lack thereof if they just rode the other’s coattails). 5min to present the essay with a short summary, 5min for questions to probe the student, and 5 minutes for buffer.

    I could even see this be used as a combined written/oral exam where you get a grade for both in a language class. If the essay is shit but your oral articulation in the foreign language is excellent then you could get top grade orally while failing on the written exam part. That means no actual loss of time.

    The hard part is that most grades in our version of high school (gymnasium) are based on the teacher’s observations of your abilities in class. It is only some classes that are randomly selected for a end-of-year exam to save time. This idea about defending an essay wouldn’t work in the rest of the classes.