Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rydel
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
rydel
6y ago
That's actually really easy. Your target here is your venv site-packages, while requirements file is the prerequisite. The idea is that your site-packages folder has to be recreated/updated (pip install) when it is older than the
2.
▲
by
rydel
8y ago
It is slightly misleading. One cannot test hooks alone - a component, which uses a hook, must be created to act on them to thest if the component behaves properly with the hook. There is no way to make unit test for a hook.
3.
▲
by
rydel
8y ago
The no non-determinism feature is very good example why TCO/TCE is crucial - each time you call a recursive function the state is changing- another stack is created. Therefore the same function which operates on unknown argument size(l
4.
▲
by
rydel
8y ago
Is I wrote: IMO these language are not fully functional. TCO/TCE is crucial for operations on tree like data structures. And also as I wrote: it all depends in which context we are talking to. Scheme specification makes it clear that T
5.
▲
by
rydel
8y ago
Another thing about recursion is that it is really powerful for operation on tree like data structures/objects
6.
▲
by
rydel
8y ago
It depends. As we know, FP is all about not having side effects. Having “for” loop requires to mutate the pointer of given iteration.
7.
▲
by
rydel
8y ago
Java class can be functional also. Depends how you look. If a class doesn’t operates on side effects, but keeps the mutation only inside the class, then the class can be defined as functional. But on the method level it might be not.
8.
▲
by
rydel
8y ago
There are many definitions of FP. IMHO the “no side effects” is the best one. Even Clojure is functional, but partially IMHO, bc it is for JVM which has not been design for FP. And my definition is not an arbitrary one. This is the most bro
9.
▲
by
rydel
8y ago
Yes. I am well aware about that. I look forward to TCO/TCE be supported on other platforms.
10.
▲
by
rydel
8y ago
It depends. As we know, FP is all about not having side effects. Having “for” loop requires to mutate the pointer of given iteration.
11.
▲
by
rydel
8y ago
Having lambda doesn’t mean to be FP. One of the core features missing in Java (JavaScript also) is TCO(tail call optimization)
12.
▲
Are React Hooks needed?
(rydel.io)
1 points
by
rydel
8y ago
|
0 comments
13.
▲
by
rydel
8y ago
Exactly
14.
▲
by
rydel
8y ago
Really one of the best tool! Simple to use and makes things done.
15.
▲
by
rydel
8y ago
This is fine argument. Although I work primarily in JS, I don’t think that this is the tool for any job. There are lot of nice tools in JS out there. While using single tool written in JS it might be not looks slow, but when you must use mu
16.
▲
by
rydel
9y ago
IMO it is just some mix of Todoist and Trello