Hacker Newsnew | past | comments | ask | show | jobs | submit | aldanor's commentslogin

Yes. To me personally, Rust and both its restrictions and features (ie no OOP and prevalence of sum types and hence other goodies) makes approaching the implementation of big problems differently; eventually the experience with Rust also changes (to some extent) the way you write and structure the code in other languages. One might argue that Rust is not unique here and this would also apply to languages like ocaml etc - sure, perhaps; but I can't write in any of those languages at work on daily basis since they don't fit performance-wise or for many other reasons.

Honestly curious, what are the tradeoffs with vim9 / vimscript?


well the library ecosystem, developer tooling, and gradual typing support for lua is far ahead of what’s available for vimscript. in my experience lua is #2 behind javascript/typescript’s #1 when it comes to scripting language LSP stuff. both python and ruby suffer from a profusion of alternative type checkers and whatnot that cause pain and fragmentation when it comes to tooling.

it’s pretty great to have my vimconfig give red squiggle in editor if i’m doing it wrong before i save & reload.

but i’ve not followed vim9 script as its evolved perhaps there’s a good type checker for it at this point?

even before neovim, there were vim extensions written in lua so it feels gravity of lua code has been considerable for a long time.

to me vim9script feels like perl5/raku split - evolution too late to grow new users, a remnant for a niche that will fade to oblivion slowly over the next 10 years.


With vim9, just like C and perl, the focus is to write small programs. And you don't need a typechecker if your program is only a few hundreds lines. And locality of behavior is at most one screen tall. For scripting languages, I'd rather a good documentation system (vim, emacs,..) than having a full lsp client in the background.


Oh man imagine if NeoVim had been TypeScript. I would've switched then.


neovim does have some support for nodejs plugins through its providers https://neovim.io/doc/user/provider.html#_node.js-integratio...


well the lua setup has enough type checker going on that’s it’s really useful, besides language familiarity i honestly don’t miss much; there’s great docs and autocomplete for the lua stuff built in to the lazynvim distro.


Unless you, well, state in AGENTS.md that prompts may offer suboptimal options in which case it's the machine's duty to question them, treat the prompter like a coworker and not a boss.


Anyone from Solace MUD here?


Perhaps you have a 49'' screen


Right and wrong here are all subjective. In this case it's like, abducting another man's wife from their house and saying it's right for their kids


Depends on formatter's config


Also some comments have "you're absolutely right" in them


Also missing (I think) are anecdotes about previous experiences involving famous people or just memorable moments in history.

Also comments where the poster shares details from their own life instead of just commenting on the topic.

But I can't really describe this "human Factor" any better than through examples.


The author answered himself:

> Want to do something slightly off-script? That’ll be three trait bounds, one custom derive, and a spiritual journey through src/internal/utils/mod.rs

An alternative is: you want something off-script, go fork the repo with the crate and patch it to accept your use case.


All the time. 49'' screen is built for that.

The usual setup = terminal is the central half with nvim being one half of that, sometimes also split into two side by sides, sometimes not; two terminal tabs in the right pane (zellij). Browser = left quarter. Right quarter is whatever, slack, gmeet etc.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: