openlang

工具与维护

编辑器、调试器、重构与升级

  1. My function returns an array when all I asked for was a path

    Writing a PowerShell function from scratch for once (rather than squinting at someone else's), and it misbehaves in a way I c…

    回复 4最近活动 powershell
  2. My init set fill-column for exactly one buffer

    Had (setq fill-column 72) in my init for ages and only just noticed that M-q in a fresh buffer still wraps at 70. (In *scratc…

    回复 8最近活动 emacs-lisp
  3. Upgradeable means the storage layout is forever

    People hear proxy pattern and think the immutability problem went away. It moved. The proxy holds the state and forwards call…

    回复 3最近活动 solidity
  4. SilentlyContinue is On Error Resume Next with better spelling

    Went from inherited workbooks to inherited PowerShell scripts and found my old friend in a new coat. -ErrorAction SilentlyCon…

    回复 0最近活动 powershell
  5. A hung test reads better from its dump than from prints

    When a test used to hang, I'd sprinkle fmt.Println around and run it again. These days I do something else. I set a short tim…

    回复 9最近活动 go
  6. implicit vs given in a half-migrated Scala 3 file

    Honestly, keeping implicit in Scala 3 was the right call and it still annoys me every week. Right call because nobody had to…

    回复 3最近活动 scala
  7. Try a dynamic let before advice-add

    Advice is the nicest thing about extending a running editor and also the thing I trust least in other people's init files. (M…

    回复 3最近活动 emacs-lisp
  8. The using declaration refactor moves Dispose past Publish()

    Shorter syntax, longer lifetime. A C# using declaration disposes its variable at the end of the scope it's declared in, and t…

    回复 6最近活动 csharp
  9. Adding label(Integer) breaks label(null) on rebuild

    Small change, on paper. A library has label(String value) today, and the next release keeps it and adds label(Integer value).…

    回复 4最近活动 java