Recent submissions

Comment · 2 years ago
I understand that these variables have a rich and long history, but if you have ever heard a professor or anybody else say "foo" in lecture you will understand why I detest them.

They have absolutely no connection to the matter at hand. Since foo is often used before bar, you would think there is an ordering between the two but there doesn't have to be. They are hard to pronounce and easier to confuse.

Whenever I give an example I use variable names that actually make sense and are related to the example. I'm glad that I have been fortunate to not see "foo" and "bar" anywhere in all of the code I've seen in recent memory.

Comment · 2 years ago
Thank you!
Comment · 2 years ago

  Location: Maryland, USA
  Remote: Yes
  Willing to relocate: Yes
  Technologies: Rust, JavaScript, OCaml, Java, C, Node, Express, React, AWS, 
  Résumé/CV: please email
  Email: [email protected] [different name to preserve online privacy]
  Visa status: US Green Card [permanent work authorization]
Comment · 4 years ago
Comment · 4 years ago
A real benefit of the Socratic method is that those magical moments of insight are all yours. You discover a new insight yourself, guided along the way.

It's more fun and exposes any weaknesses. It's easy for the student to say they know something when they actually don't. Drawing links themselves exposes everything. Then a quick detour can fix the foundation before continuing.

It's also very effective for large classes. You are forced to pay attention, because the teacher could call on you at any time.

Comment · 4 years ago
I recommend everyone read "Surely You're Joking Mr Feynman."

The parts on Brazil were particularly interesting.

Comment · 4 years ago
This is really cool. First thing I looked for was a Wordle-type "share" button.

Maybe add a Wordle-style share button? Then everyone can play this with their friends.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton