HackerTrans
TopNewTrendsCommentsPastAskShowJobs

lukashrb

no profile record

Submissions

Programming languages ranked by expressiveness (2013)

redmonk.com
2 points·by lukashrb·4 năm trước·0 comments

F# support for type classes or implicits

github.com
3 points·by lukashrb·5 năm trước·0 comments

A History of Clojure [video]

pldi21.org
99 points·by lukashrb·5 năm trước·10 comments

comments

lukashrb
·3 tháng trước·discuss
I thought the same for a long time and it really discouraged me. My natural pitch recognition is pretty bad. What helped was starting with very simple melodies and songs, so I could get familiar with the most common movements. That made it easier to figure out progressions, because I learned how to narrow down the options. I’m still not great at it, but I keep improving. That’s why I think it’s trainable.
lukashrb
·4 tháng trước·discuss
Every time I write another DTO → domain → DB mapping layer in Kotlin/TypeScript, I think about Clojure. I’m pretty grateful I learned it. It really changed how I think about software. Still, it’s a trade: less ceremony, more responsibility.
lukashrb
·3 năm trước·discuss
Picking up Clojure was the best learning experience I've had in my professional life. Rich is inspiring; I wish him all the best.
lukashrb
·3 năm trước·discuss
> but it gets in the way when you're rapidly prototyping and exploring.

If you prototype a new features for an existing system, a test let you execute only the code you actually need. This will shorten your feedback loop and allow you to iterate faster. Refactoring a test is fine. Writing a BS test just to explore a solution is fine. In my experience following a test lead practice will help you build a simpler system which will be easier to maintain.
lukashrb
·4 năm trước·discuss
There is this book "Drive The Surprising Truth About What Motivates Us" which makes the same point, they also cite some studies about this.
lukashrb
·4 năm trước·discuss
As I understand, implicit joins are another selling point
lukashrb
·4 năm trước·discuss
I'm really greatful for clojure to exist. It exposed me to a lot of concepts and gave me a new perspective to think about problems, which in turn helped me to grow tremendously as a developer.

The emphasis to work directly with the data is quite unique to clojure (as I'm aware of, please proof me wrong on this) which allows me to just dive in and think about the problem I want to solve instead of fighting my language or framework. The interactivity of the environment paired with immutability results in an instant feedback loop which let me get into mental flow really fast, which is a joy.
lukashrb
·4 năm trước·discuss
Could you specify, what you mean by "refactor large codebases"?

> compiler telling you if the pieces still fit together?

You still write tests in scala do you?
lukashrb
·4 năm trước·discuss
> and because it is statically typed with a decent type system, you can refactor quite safely in general.

I wish that would be true. Would make my current job a lot easier.
lukashrb
·4 năm trước·discuss
Are there any examples for 2 and 3 openly accessible? While I grasped the basic idea I lack the imagination how it would look in a real world system.
lukashrb
·4 năm trước·discuss
If I recall correctly: cisco threat grid is using core.logic
lukashrb
·4 năm trước·discuss
> I get paid to deal with requirements that change every bloody week because we have quick customer feedback

In my experience this is something where clojure is exceptionally good at.
lukashrb
·5 năm trước·discuss
Thank you.
lukashrb
·5 năm trước·discuss
If I understand you correctly, this i a general problem of functional data structures?

> Clojure will always be slow, because it's not cache friendly.

You always have the option to use the java data structures, for the cases this kind of optimization is needed.
lukashrb
·5 năm trước·discuss
> Peter Norvig here. I came to Python not because I thought it was a better/acceptable/pragmatic Lisp, but because it was better pseudocode.[0]

[0] https://news.ycombinator.com/item?id=1803815
lukashrb
·5 năm trước·discuss
The link is broken. Nevertheless I don't now much about the benchmarks but SBCL seems impressively fast.