cgtjsiwy
@cgtjsiwy@programming.dev
- Comment on Let futures be futures 10 months ago:
The author should look into Koka. As I see it, Koka is at the bleeding edge of effect handling, which is why the async Rust team has taken some nibbles of inspiration from it. Alas, Rust as a whole is far too cemented to overhaul everything for generic effect support, but at least it’s been beneficial for async.
- Comment on A comprehensive guide to the dangers of Regular Expressions in JavaScript 1 year ago:
Regular expressions are great and can always be matched in linear time with respect to the input string length.
The problem is that JS standard library RegExps aren’t actually regular expressions, but rather a much broader language, which is impossible to implement efficiently. If RegExp switched to proper regular expressions, they would match much faster but supporting backreferences like /(.*)x\1/ would be impossible.
- Comment on I made a better ASCII table 1 year ago:
It would be much easier to read if it was actually table, i.e., if hex codes and the characters were separated into their own columns.
- Comment on The only thing doing tech tests has taught me is that I'm too stupid to do the job I've been doing professionally for the better part of 2 decades. 1 year ago:
My workplace has the opposite problem.
The company has been in dire need of programmers for years, so they hired people (including myself) without tests. However, the work involves lots of custom iterators and the occasional handcrafted parser, which most of the company is incapable of writing. The bright side is that management has their metrics mostly right, so I’m getting lots of raises for solving fun problems.
- Comment on Are we ready for javascript without a build step on the front end in 2023? 1 year ago:
I recommend Pyright over Mypy if you don’t mind it being owned by Microsoft. It has far fewer bugs, and if you do stumble on one, you don’t have to fix it yourself because Microsoft’s paid devs will fix it in a couple of working days (at least for the small bugs I’ve reported).
- Comment on Day in the Life: Senior Dev Edition 1 year ago:
I do very little coding, but it’s because our workplace has an abundance of junior developers, not because I’m pressed for time. My work is essentially just turning emails into technical specifications that others can implement and tutoring juniors when there are problems. Few to no pointless meetings because I insist on using emails or tickets whenever possible.
- Comment on How helpful languages create bugs 1 year ago:
Agreed. I think operator overloading is a necessary feature in any math-oriented or general-purpose language. Being able to write formulae the same way as they’re written in the source paper is a huge boon to readability.