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

That's less readable than the original suggestion though.


Out of context on HN, it looks so. But in my experience, the original suggestion with the separate variables gets pretty hard to keep track of, and ends up making things more confusing. The `(?x)` or `/.../x` version makes it much easier to see things in their place and understand the overall pattern.


That's pretty neat, indeed I'd never heard of this, or maybe I had once but I'd forgotten about it if so. I might counter that in a very long regex you'd want to do the assembly in multiple steps, but I can definitely see the appeal of inline comments (perhaps in addition to something like that). I'll try to keep this in mind for the next time I'm dealing with regex. Thanks for sharing!


Totally agree. It's a blog post, obviously it's your personal opinion and there's no need to explain nor excuse that.


There is a need if that's how he feels. He's making it clear he understands everyone's aesthetic is different.


Definitely not. Everyone knows these things are super accurate, considering that it's pretty darn good.


> If someone came out with a free, cross-platform, attractive text editor that was a native executable and got critical mass going with a plugin ecosystem, then VS Code would fall out of fashion within a year.

Well yeah, there's the problem. This isn't an easy task, it has never been done before.


It's been done with Vim and Emacs, among others. Full desktop GUI versions, in addition to the original terminal-based form.

It just hasn't been done RECENTLY... with an editor that is visually attractive, and uses modern keyboard conventions rather than arcane keystroke DSL's that are inaccessible for the masses. But that's just a matter of project philosophy, not technical limitations with what's doable.


This is definitely the first time I've ever seen the adjective 'attractive' applied to either vim or emacs.


If by "applied to Vim and Emacs", you mean "included in a list of theoretical differences from Vim and Emacs", then sure.


> > > free, cross-platform, attractive text editor

> > Well yeah, there's the problem. This isn't an easy task, it has never been done before.

> It's been done with Vim and Emacs

My apologies if I misunderstood how you intended the pronouns to be applied.


Based on their performance recently, badly.


Just like anything you can shop around and get a good deal.

In the UK I use glasses direct, you can pick up a pair with a prescription for £50. They regularly have discount codes so most of the time that would be £35/40. Sure they aren't designer but they look ok for the price if you don't want to spend a lot, if you use them just got driving you can probably get an even cheaper pair that don't look as good.


I've worn glasses since I was a kid, when you're entitled to a free frame from the cheaper range at Boots (a local retailer) (also, thanks, NHS). I remember struggling to find a design that I liked decent around that price range. As soon as you went out into the price ranges that weren't covered, you got a lot more nicer looking ones. At the time I was buying new frames and lenses every few years so I went with the cheap ones.

My current pair were about £30 from Aliexpress, a gorgeous rimless set with anti-glare lenses included. Needless to say I won't be buying from local retailers anymore.

I'm sure here in the UK we're also affected by the Luxottica monopoly in the US, especially when it comes to designer brands.


There is no good reason they can't provide updates without scooping up all your data.

As a minimum they could keep vin/installed software version number and date times. It would be an acceptable compromise.


There are many good reasons. Must have to do with profit and rent seeking.


I can think of a few million, if not billion, off the top of my head.


Or so you think...


It's fine, he had some money troubles and needed $300 to pay his bills on time.


Nice article, spotted a small typo.

If you don’t, you risk being seen as ~reliable~ and people might feel you’re not there when they need you.


Oof, thanks! Nice catch, fixed


Is it really that annoying? Appreciate someone sat in a park blasting music could be, it's generally stationary for a long period of time.

With a bike travelling at say ~10mph the noise is out of earshot in a few seconds.


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

Search: