Viewing profile — zeugmasyllepsis
zeugmasyllepsis
HN member- Joined
- Fri, May 09, 2014, 11:07 AM UTC
- HN karma
- 157
- Public activity
- 45 items
- HN profile
- View on Hacker News ↗
About zeugmasyllepsis
No profile information was provided.
Recent public activity
-
comment
Comment #32771323
I was curious about node/jitless node versus python/pypy: src time node primes.js 78498 node primes.js 1.75s user 0.05s system 102% cpu 1.761 total src time node --jitless primes.j…
-
comment
Comment #32189885
A GADDAG[1] is a combination pre-/suffix trie that's used for move generation in Scrabble. Unlike a traditional dictionary to find anagrams for words, a GADDAG makes it easier to i…
-
comment
Comment #32061005
Playing around in a docker image of the beta build, it looks like this allows you to add a `unique nulls not distinct` constraint to a composite set of fields, but still does not a…
-
comment
Comment #30653219
Curious, what is your argument in favor of a container over a type union to represent Result? As long as the type checking system forces users to refine the union to use the value …
-
comment
Comment #30079916
Smalltalk
-
comment
Comment #28516137
This might work out well in practice when tracking a single effect with a monad (e.g. with Haskell's `do` notation) but I think it quickly falls apart when working with multiple ef…
-
comment
Comment #27849078
> Real number counting is a bit more loose. To find the numbers between .1 and .2, you find all fractionals of a given size, normally 1/10. Unfortunately the fractionals method doe…
-
comment
Comment #27178628
Go supports a handful of built-in generic types, like hashmaps. What Go currently lacks is user-defined generics, though that is actively being worked on.
-
comment
Comment #26779477
Thank you for providing details and not just assuming the JIT was the cause of the difference.
-
comment
Comment #26523516
Right - so if you're introducing type annotations into an existing project and have a method expecting some interface, used by many call-sites spread across various parts of the pr…
-
comment
Comment #26518737
Not without modifying the existing type. Since Interfaces rely on nominal typing, each type implementing an interface must explicitly declare that they do so. On the other hand, si…
-
comment
Comment #26094430
Sum and intersection types + pattern matching feels so natural in languages like F#, OCaml, Reason, and Elixir. I know they add a significant amount of complexity to the language, …
-
comment
Comment #25616254
> static type checking based on sequent calculus, one of the most powerful systems for typing in Not exactly a common characteristic for Lisps
-
comment
Comment #23431483
This reminds me of a discussion between Alan Kay and Rich Hickey on role of "data" that occurred right here on HN[1]. The TLDR (though the thread is very worth reading, IMO): Alan …
-
comment
Comment #23194253
> .. in favor of targeted JS libraries that extend HTML capabilities. Do you mean libraries like Turbolinks[1] and/or Intercooler[2] here? I'm interested in what libraries you use,…
-
comment
Comment #21854134
While functions are first class in Go, the limitations of the type system make them less ergonomic to use, I think. Without user defined generics, many of the common uses of first-…
-
comment
Comment #21007994
Maybe a simpler way to illustrate this is two different functions built off of filter: `keep`: Given a predicate and a collection, filter the collection to retain only items for wh…
-
comment
Comment #20337614
Persisting it on the server allows users to browse on multiple devices and keep their collapse settings in sync. This is useful in particular for long threads of comments, where co…
-
comment
Comment #19986093
I agree with you! Static typing and more broadly static analysis can help catch some types of backwards incompatibilities. The intent of my comment was to highlight complementary t…
-
comment
Comment #19985570
I apologize for being unclear. My intent was not to suggest that static type checking (and more broadly, static analysis) were not useful tools in catching errors early. Rather, I …
-
comment
Comment #19985475
I don't disagree that static type checkers and analysis software can be useful for catching many kinds of errors. In fact, at the end of my comment I emphasize exactly their streng…
-
comment
Comment #19982447
> ...would have told them immediately at compile time that the last_name field access by other client code was broken. What's the proposed fix in this case? Should all clients acce…
-
comment
Comment #19982156
To be fair, their general use is discouraged unless you want the process to terminate. Not that you can't do that in other languages, but the culture in Go seems to prefer returnin…
-
comment
Comment #19970237
> It seems like a messaging system like this would require all calling components to micro-manage... I think that's part of the trick, actually. When every component of a system be…
-
comment
Comment #19950803
To varying degrees depending on the library, I believe the answer is "yes, they sometimes do". Angular and Ember at least have systems for batching user interactions, which transla…