Posts by lesley@mastodon.gamedev.place
 (DIR) Post #ATnZuvtPuHQJmSWn32 by lesley@mastodon.gamedev.place
       2023-03-20T03:48:34Z
       
       1 likes, 0 repeats
       
       @omniscient @kravietz I don't know. As much as I love OCaml, the syntax is not part of my love
       
 (DIR) Post #ATnZxJgmP7FoA7kmtk by lesley@mastodon.gamedev.place
       2023-03-20T04:11:09Z
       
       1 likes, 0 repeats
       
       @omniscient @kravietz Reasonml definitely went the right direction in term of syntax. I didn't following its development anymore since it got rebranded as rescript and so I don't know much about the current rescript syntax.
       
 (DIR) Post #ATnaVg21qBrNIq4pjk by lesley@mastodon.gamedev.place
       2023-03-20T04:19:22Z
       
       1 likes, 0 repeats
       
       @omniscient @kravietz Nice! Rust is pretty awesome to use
       
 (DIR) Post #AUpm1zXEnh293Q1dnE by lesley@mastodon.gamedev.place
       2023-04-20T03:08:39Z
       
       0 likes, 0 repeats
       
       @nicoespeon Unfortunately, many people still preach "you should always have one return in a function."If you ask them, they usually can only give nebulous reasons like "readability" or "reduce complexity." The original proponents of "one return" did have some point, but the original rationales are most lost in history and no longer relevant in modern settingshttps://softwareengineering.stackexchange.com/questions/118703/where-did-the-notion-of-one-return-only-come-from
       
 (DIR) Post #Ahsr1ZoTpWizbgKc3E by lesley@mastodon.gamedev.place
       2024-05-05T09:21:59Z
       
       0 likes, 0 repeats
       
       #rust noob question: is there a way to "catch one kind of error and propagate the other" with something cleaner than this?#rustlang
       
 (DIR) Post #Ahsr1bl0bP8VdUiruy by lesley@mastodon.gamedev.place
       2024-05-05T09:32:51Z
       
       0 likes, 0 repeats
       
       This version still looks verbose but is better than the previous one
       
 (DIR) Post #Aq5pZMk36FAYAL4fey by lesley@mastodon.gamedev.place
       2025-01-15T03:03:22Z
       
       0 likes, 0 repeats
       
       @BrodieOnLinux Rust even has a `Box::leak` function, which is useful for initializing something at program start-up but then letting it live forever
       
 (DIR) Post #AqF64icV9blagc9hfE by lesley@mastodon.gamedev.place
       2025-01-19T14:03:16Z
       
       1 likes, 1 repeats
       
       - Open a potentially interesting blog post- See an irrelevant, ugly AI-generated banner image- Hit ctrl-w
       
 (DIR) Post #AzmpE0dquRGOEG73OS by lesley@mastodon.gamedev.place
       2025-11-01T01:36:37Z
       
       0 likes, 0 repeats
       
       @whitequark I think that there are still many companies that intentionally make the websites awful on mobile to force people to use their apps
       
 (DIR) Post #B0fwXZ78QN6clzUU4G by lesley@mastodon.gamedev.place
       2025-11-27T11:06:54Z
       
       0 likes, 0 repeats
       
       @0xabad1dea Many Chinese publications don't care about copyrights overseas at all. Similarly, you can see copyrighted background music on Chinese video platforms all the time (as long as the music isn't protected in China, the platforms generally don’t care)
       
 (DIR) Post #B20fovo9zu7XRnjtPE by lesley@mastodon.gamedev.place
       2026-01-06T13:45:47Z
       
       0 likes, 0 repeats
       
       @musicmatze Also aren't nalgebra and glam solves similar problems? I don't understand what's going on, unless this is some "benchmarking math libraries" codebase