Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joncampbelldev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
31.
▲
by
joncampbelldev
9y ago
Perhaps they meant it as a good example of the type of component to build systems out of, simple input->output. Unsure though.
32.
▲
by
joncampbelldev
9y ago
It is usually encouraged on HN to argue with / respond to the points made by the person you in discussion with, not the vocal minority/majority out in the world who hold a different view. Otherwise you get two people talking past
33.
▲
by
joncampbelldev
9y ago
And yet 99% of code written in Java, Ruby, <Generic OOP language here> is based on mutable objects. Its not about what is possible, we're all familiar with the turing completeness of everything. It's about what is: the defau
34.
▲
by
joncampbelldev
9y ago
I believe this is usually called the "Please think of the children" argument (or women in this case). I imagine the person you are replying to is not a closet rape supporter, but they likely think that allowing every adult member
35.
▲
by
joncampbelldev
9y ago
Except if you're using immutable data, pure functions and explicit state there's a lot less room for OO which (as presented by ruby, java etc) involves mutable data accessed/changed via methods that conceal their state.
36.
▲
by
joncampbelldev
9y ago
In the grandparent comment's link (showing clojure data in haskell): I'm pretty sure that is not how people code in Haskell, its not how the libraries are usually designed etc etc. Using only data is definitely possible in Haskell
37.
▲
by
joncampbelldev
9y ago
Forgive me, but your comment seems a little disingenuous with the way it generalises the static community (every static language??) vs the clojure community. Many of the comments on this page show why Rich gave the keynote. Because the same
38.
▲
by
joncampbelldev
9y ago
And some believe that the added value is not worth the trade off in mental overhead and ceremony. We are surely both aware of the various, numerous and flame-war arguments for static vs dynamic typing. (For my side I can only recommend Rich
39.
▲
by
joncampbelldev
9y ago
The main issue is that Haskell is not a data-oriented language by default, this means its no fun to push it to be that. For example, I also have to use java in my job, I use persistent (functional) data structures all the time, but Java is
40.
▲
by
joncampbelldev
9y ago
Again, I would refer you to the Rich Hickey talks, I'm not very eloquent on this. I think its about the manual overhead that constructing your hierarchy of types, plus the cognitive overhead of doing all the fancy things in your bracke
41.
▲
by
joncampbelldev
9y ago
One of the big benefits of clojure being dynamic is that everything is data (e.g. a map, set, vector or list). This is what allows reuse. - The vast core library of functions that manipulate those data structures can be used for everything
42.
▲
by
joncampbelldev
9y ago
I think the debate may be leaning towards dynamic. - The aforementioned keynote highlighting the various reasons Rich chose to make it dynamic. - CircleCI (one of the major users and propronents of core.typed) dropping it. - The introductio
43.
▲
by
joncampbelldev
9y ago
Javascript and Python are very popular dynamic languages, this doesn't make them good dynamic languages. In particular OOP is very much helped by static types. Clojure would a better example of a dynamic language that would not be impr
44.
▲
by
joncampbelldev
9y ago
I'm saying this as a massive clojure fanboy: java.util.concurrent is an amazing set of concurrency utilities and is the building block for many of clojure's concurrency features. It's definitely worth knowing when writing per
45.
▲
by
joncampbelldev
9y ago
run! and doseq are for IO on each element of a sequence. Functions like mapv are intended for data transformation, not side-effects. This is why run! and doseq return nil
46.
▲
by
joncampbelldev
9y ago
For the nested object traversal, is there a reason this uses string based paths instead of array based? Dynamic path building via string concatenation feels messy. Seems like there may be a performance hit too with all the string operations
47.
▲
by
joncampbelldev
9y ago
2^10 = 1024 2^20 = 1048576
48.
▲
by
joncampbelldev
9y ago
I'm sorry, but I'm a little confused by your comment about default cases in reply to mine about syntax extensions being in the hands of language designers vs everyone. I am also a little unsure what you mean by not worrying about
49.
▲
by
joncampbelldev
9y ago
I must have gone full lisp weenie, because I find it ridiculous when remembering the days of being a happy java dev, waiting years for someone to include a syntactic change in the spec, all whilst crossing my fingers that they will include
50.
▲
by
joncampbelldev
9y ago
On a page crammed full of images its alright, they're going to be slowing down the loading of everything. If it were a plain text document and it was only JS loading and parsing that slowed it down then it would indeed be embarrassing.
51.
▲
by
joncampbelldev
9y ago
Nope, javascript is less than 1/4 of this page, time for the "above the fold" render for me (on standard laptop + broadband) is under 0.5 seconds. Please examine other possible causes for a 30 second page load, unless you
52.
▲
by
joncampbelldev
9y ago
Technically correct, but speaking for myself: I was interested to read this job description even though I have no intent of applying. Although I realise that deciding where you draw the line for "interesting job descriptions" is v
53.
▲
by
joncampbelldev
9y ago
Also on the subject of clojure's data structures, they are all immutable by default (with structural sharing so changes are efficient, not just defensive copys). This greatly assists in writing functional, multi-threaded code. For orig
54.
▲
by
joncampbelldev
9y ago
What you describe is exactly the same as what jdavis703 said, not the opposite.
55.
▲
by
joncampbelldev
9y ago
I believe the quote you're referencing about monads is "this is meant to lull you into believing everything I say is true, because I can't use monads for that" (referring to an animation of a stick figure juggling)
56.
▲
by
joncampbelldev
9y ago
Google tends to be better than most in-site search, especially github. "guacamole docker" returns a whole page of helpful resources (github, dockerhub etc)
57.
▲
by
joncampbelldev
9y ago
Namespaced keywords can really help with refactoring your domain model. Usually I use normal keywords for throwaway or glue code, but anything important (my actual domain entities) will be namespaced, allowing (relatively) pain free refacto
58.
▲
by
joncampbelldev
9y ago
The article mentions the difference between operational and product analytics, his complaints of real-time data are only for product analytics. (I hope) No one in the article or this thread is suggesting your uptime or error metrics should
59.
▲
by
joncampbelldev
9y ago
Well I'm sure Apple would love to hear your ideas for remotely activating to unconnected FM chip inside the older iPhones
60.
▲
by
joncampbelldev
9y ago
I'm 28 and I wish I were the most junior on the dev team. Being a "lead" developer is fun, but I wish I had more people who I can actively learn from just by being around.
More ›