Mama told me not to come.

She said, that ain’t the way to have fun.

  • 1 Post
  • 175 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle







  • Use Lua, it uses one-based arrays. This is nice for a few reasons:

    • last element is array[length]
    • zero can be reserved for the type (especially nice for representing XML: 0 = node name, 1-N = children, named table entries = attributes)
    • very rarely see + 1 and - 1 in my code

    It feels wrong coming from C, but it’s actually really nice, especially since the reasons C does it don’t apply (i.e. index is just a memory offset).





  • I’m being a bit hyperbolic here. My point, however, is that soft pasta is pretty common here, and people do complain about properly cooked pasta. Not often, but people tend to lean more toward the overcooked end of the spectrum.

    For example, most boxes of spaghetti say 10-11 min cooking, whereas I usually test around 7-8 min and stop a bit short of 10min. This can vary a little by brand, thickness, and probably altitude (I live in the Rockies so I’m used to adjusting cooking times).

    I’m not some angsty chef or something, I just don’t like overcooked noodles of any variety because the texture sucks. So I just generally avoid pasta for the most part. I don’t make lasagna because I’m not willing to spend the time to do it well, but I do occasionally make something like aglio e olio because it’s fast and easy to do well.