content

Working on fishy facts on stream:

  • Copied TODOs from 20261107220626
  • I would really like to get the editor working again.
  • I think it would be easier to just rebuild it from scratch
  • I learned from stewie today that Dictionary has a make_read_only function, which I think is terrible, because it can't actually make itself read-only. It can guarantee that inserts and deletions cannot be carried out, but the keys and values in the dictionary can still be changed if they are reference types. It would be slightly better if make_read_only returned a new type ReadOnlyDictionary, so that you couldn't even compile code that tries to modify a read-only dictionary, though I find the utility of this is questionable when value types and reference types are not evidently distinct from each other in the source code.
  • Spent most of the stream today refactoring the player so that the editor and player can share the same interaction logic

TODOs:

  • Map
  • Dialog
  • Puzzle
  • Tiles
  • Touchpool
  • Kelp Forest
  • Coral Reef
  • Tide Pools
  • Stamp Rally

meta

created:

backlinks: 20261109191522 Read-only Dictionarys are not read-only fishy facts

commit: 1968a19b