Better HN
topnewbestaskshowjobs
Log inSign up

olzd

43 karma · joined Oct 30, 2017 (9y ago) · 18 submissions

Submissions

comment 6mo ago · link · parent

Are you aware this is satire?

comment 5y ago · link · parent

Probably Brzozowski’s derivative of regular expressions, e.g https://matt.might.net/papers/might2011derivatives.pdf

comment 7y ago · link · parent

How nice of you to copy/paste my reddit comment!

comment 7y ago · link · parent

You type 'proc' and let the editor autocomplete that for you: this is a long solved issue.

comment 7y ago · link · parent

I like the parens for the structured editing they allow. Also, you don't need parens to be homoiconic.

comment 8y ago · link · parent

The -O3 switch removes a recursive call, among other things (https://godbolt.org/z/oS3Cju).

comment 8y ago · link · parent

> When I get a request for something slightly different, I almost have to start from scratch.

You don't really start from scratch though (at least I don't): most of the time you can reuse idioms with minimal adaptation.

comment 8y ago · link · parent

I disagree: it's not that hard to gradually get to a solution via the REPL.

comment 8y ago · link · parent

Actually there is: be a EU resident. It's even explicitely stated there.

comment 8y ago · link · parent

> Reading and understanding the Idris proof is actually more work than understanding the untyped Python version, therefore it's actually harder to say whether it's correct or not in a semantic sense.

But you don't have to write a proof to sort a list in Idris. So you're not being honest with your comparison.

comment 8y ago · link · parent

If only people could properly argument...

comment 8y ago · link · parent

Latest release is June 28, 2018. SBCL REPL kinda sucks by itself but nobody uses it that way.

comment 8y ago · link · parent

I hope you realize the Idris code actually prove that the list will be correctly sorted, unlike your python code.

comment 8y ago · link · parent

Yeah, you managed to link a comment with some code (although I agree it looks useless)... I expected a github link to some lib relying on undocumented macros.

> I don't know what's the worst. That you can't help it or that you won't ever recognize you have a problem.

Anyone can write bad code. Lisp certainly makes it easier, I won't deny it. And no, I don't have a problem, thank you.

comment 8y ago · link · parent

Alright, do you have an actual example to show?

comment 8y ago · link · parent

Come on. A lack of tests or documentation isn't specific to Lisp. TBH, I'd rather use a well-designed DSL than a shitty API.

comment 8y ago · link · parent

So? If you want a lightweight app, both JavaFX and Electron are bad.

comment 9y ago · link · parent

Idris certainly is nice but I doubt anyone uses it for real stuff.