Hacker News new | ask | show | jobs
by specialist 1199 days ago
My second love was LISP. I love me some functional programming.

But I greatly dislike multi-paradigm programming languages. Mostly because I've worked with other programmers.

Borrowing features (idioms) from other languages is great. Pattern matching is nice. For Java, I'm looking forward to (interpolated) string templates and implicit classes. Destructuring would be nice too.

--

But for the love of Larry, where are intrinsic regex expressions?

Path expressions?

Most of our work is data processing.

Input -> munging -> output.

Meaning cutting and pasting strings.

So I mostly want new features related to string and data processing.

--

The evergreen fetish (kink) with arcana like type systems, monads, and metaprogramming is just so besides the point. That's what Lambda the Ultimate and HN are for.

For "commercial" languages, just give me tools for work.

Fussing with novel languages is for my hobby projects.

1 comments

What does "intrinsic regex" mean?
Sorry. I should have written "regex intrinsics". Meaning native to the language, vs implemented as a library. Just like Perl's syntax for regex.
So like the /^regex(.*)syntax$/g that we have in vanilla JS?

(I agree with your overall point BTW.)

Yup.

I just checked; the MDN docs refer to them as "regular expression literals".