You don’t need to memorize quicksort. If you understand how it works, it’s trivial to work out the exact details.
xigoi
- 2 posts
- 109 comments
LLMs are a type of neural networks.
- 1 year
Since PHP has to maintain backward compatibility, many of the issues are not and will never be fixed.
- 1 year
Since when are literally all rich people violent criminals?
- 1 year
So you advocated for violence against a specific group of people and got banned for advocating for violence against a specific group of people? How unexpected…
- 2 years
Do we have an equivalent of r/ComedyCemetery here on Lemmy?
xigoi@lemmy.sdf.orgto
Programmer Humor@programming.dev•Yes Google, 2/3 is TOTALLY the same as 1/2English
2 yearsIt tries to auto-determine when to trigger, but you can explicitly trigger it by putting a question mark after your query.
xigoi@lemmy.sdf.orgto
Programming@programming.dev•How Good at Math Does a Programmer Need to Be?English
2 yearsDo you have a link to the research? I’m a math educator and I’d like some good materials for encouraging my students.
- 2 years
I have no rebottomal for this comment.
xigoi@lemmy.sdf.orgto
Programming@programming.dev•Is The Fold Method Bodies by Default a Missing IDE Feature ?English
2 yearsBetteridge’s law of headlines…
- 2 years
It means you’re compensating for the lack of optional/named parameters in your language.
xigoi@lemmy.sdf.orgto
Programming@programming.dev•What are your favorite statically typed, compiled, memory safe programming languages?English
2 yearsWhen you want to print something, you can’t just
Printf.printf x, you have to explicitly give it instructions on how to print a value of that specific type.
xigoi@lemmy.sdf.orgto
Programming@programming.dev•What are your favorite statically typed, compiled, memory safe programming languages?English
2 yearsI’ve recently been trying to learn OCaml and find it really nice. The major pain points are
- C-style separate compilation with manually created headers
- Small standard library
- No generic print function
- Hard to use external libraries
xigoi@lemmy.sdf.orgto
Programming@programming.dev•Zig vs Rust. Which one is going to be future?English
2 yearsWhat does Rust improve over its predecessors? The only really new thing is the borrow checker, which is only useful in very low-level programming.
- 2 years
You’re so close to reinventing Smalltalk…
C is the first language I learned and I think it’s a terrible language full of inconsistencies, footguns and unnecessary complexity.
- 2 years
Try writing 20 algebraic manipulations of the equation on paper and you’ll quickly understand why it’s written that way.
- 2 years
Why not just add function overloading to the language and have a function named
copythat takes a string and an optional character count?




That depends on how often you use it. If I needed to write quicksort as often as the quadratic formula, I’d probably remember it. And if I only used the quadratic formula as often as I do quicksort, I’d just derive it each time.