Hacker News new | past | comments | ask | show | jobs | submit | frou_dh's comments login

ST has code folding, but I don't think it has special automatic code folding when using Goto Definition?

That specific part of code folding is pure preference. I would rather my editor not just fold things on GoTo Definition. GoTo Definition already takes me to what I need to see. I use code folding to minimize large chunks of something in the way. Not to unload my visual workspace on every jump. Folding on specific commands means I’d have to unfold sometimes, extra commands.

It being preference (recommended default: off) was also covered in the article :/

So then not really a missing editor feature if it’s a small opt-in preference. The author assumes everyone wants this but then it will be entirely undiscoverable from the base level UI.

Also, while not automatic, if I use GoTo in sublime text, then Edit->Code Fold-> Fold All, it will fold everything I have not focused on, all the way around my code selection or indent level. Seems like you could cobble together a simple plugin or shortcut to handle the expected behavior.

Keys: Cmd+r, goto, cmd+k cmd+1 fold all


SEGA used to have an advert, "To be this good takes AGES". Maybe Rails doesn't have a monopoly on having 20 years of continuous development refining it, but that's certainly not the norm.

To do Clojure web development was to noodle around stitching together various libraries piecemeal, i.e. the same thing that everyone who resists proper batteries-included web frameworks does.

I think it's because which files code resides in doesn't ultimately have much bearing on the modularity, unlike in Python and JS (ESM).

Graphical as in integrated with the normal editing view? There's a new very nicely done one for Emacs: https://github.com/svaante/dape . The documentation about using it is currently a bit terse though.

I actually don't mind if it's not integrated with the editor. I'm fine with a debugger being a standalone application. What I want is the ability to see the source, set breakpoints and navigate the code efficiently inside the debugger. vscode is currently the best option for this remotely

Pyright was itself a big improvement over Mypy. Just look at this for starters: https://htmlpreview.github.io/?https://github.com/python/typ...

If Astral can leapfrog Pyright too, great. But I think it will be significantly harder than leapfrogging Flake8 and Black was.


Get some of those annoying YouTuber “dev influencers” to cover it and that will get all the developer teenagers hyped about it. It almost goes without saying that the YouTuber should also be gurning in the thumbnail.


Why brand a language via “annoying” influencers? The pro is obviously visibility, but doesn’t that switch the problem from visibility into reputation management?


Great way to get freshly made developers to use something, but for the rest of us? Probably has the opposite effect if any.


Did you even do a search in youtube for "odin language"? Lots of dev influencers have covered odin, including an hour long interview the Primeagen did with GingerBill about odin.

https://www.youtube.com/watch?v=nVa9mgRcVPs


Aside from the health/chemical-pollution aspects, these things have simply resulted in such ugliness because I see them strewn all over the ground every day.

Apparently "disposable" means "throw on the ground".


The overlap between "Uses nicotine" and "Just throws plastic shit on the ground" is astonishing. You do not see nearly as much littering from weed smokers for example.


Why don't you use regex for all editing in the single-cursor case as well then?


If I want to change a word on one line, I find it faster to do <esc>cw replacetext rather than use the mouse to select the text and then replace text.

If I want to do that on 2-3 lines, I just use /findtext n and . to redo the prev command.

Anything more than that becomes a full search/replace.

Ymmv. It's just what I find efficient, given my muscle memory.


The point is that single-cursor editing is a special case of multiple-cursor editing. If there's value in any single-cursor editing operations that don't use regex (or other indirectness) then they have value when used with multiple cursors, too.

The mouse doesn't necessarily come into the discussion at all.


These physical analogies also make me think that for it to be message sending then it must be asynchronous, because if I send you a letter then I'm not forcefully frozen from the instant I drop it into the postbox until I hear back.


The deadline for YC's W25 batch is 8pm PT tonight. Go for it!

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

Search: