Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adamkl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
adamkl
6y ago
I believe “Not too much” is a simple reminder that more code equals more bugs. So, try to write less code whenever possible.
92.
▲
by
adamkl
6y ago
I spend a lot of time thinking about these sorts of topics (actually, I just taught a 4 hour session yesterday that used most of the terms in this article), working with newer, less experienced developers, and trying to figure how to distil
93.
▲
by
adamkl
6y ago
Well, that is where the name comes from. Rich’s rich comments in Clojure: https://github.com/clojure/clojure/blame/4ef4b1ed7a2e8bb0aaa...
94.
▲
by
adamkl
6y ago
Heck, why not just go one (several?) steps further and just use macros to create a DSL for <insert your favourite language here>? https://aphyr.com/posts/353-rewriting-the-technical-intervie...
95.
▲
by
adamkl
6y ago
This is what REPL-based development looks like in practice: https://vimeo.com/230220635 I agree, its pretty cool, and actually pretty fun.
96.
▲
by
adamkl
6y ago
Honestly, I think this series of blog posts could have had a more complete title: "Principals of Data Oriented Programming (aka, Idiomatic Clojure) " All of these ideas (and I think they are good ones) are inspired heavily by Ric
97.
▲
I will never let monads be in a Clojure project
(grishaev.me)
2 points
by
adamkl
6y ago
|
0 comments
98.
▲
The User Wizard Scenario
(lispcast.com)
3 points
by
adamkl
6y ago
|
0 comments
99.
▲
by
adamkl
6y ago
The embedded video [0] in this post is the star of the show for me. I watched it for the first time a few months ago, and its what really got the idea of REPL driven development to "click" in my head. Being able to interactively b
100.
▲
by
adamkl
6y ago
It seems like "the hundreds of lower-level dependencies" is a problem that is unique to JavaScript due to its lack of a standard library. JavaScript has a huge ecosystem, and as a result produces many new, interesting ideas, but i
101.
▲
by
adamkl
6y ago
I have been playing with the idea that a rule engine would work well with a state machine. State machine manages the workflow, rule engine determines which transitions to execute? Maybe that is overkill, but I've been trying to build a
102.
▲
by
adamkl
6y ago
Totally agree with this. I started playing with spec because of the idea of automated test generation, but the reality of it is that I use it as a super-charged validation library. I think this emphasis actually does the library a disservic
103.
▲
by
adamkl
6y ago
I’ve been playing a lot with the idea of just using ClojureScript for everything, both backend and frontend. Shadow-cljs [0] makes interop with the NPM ecosystem a breeze, and ClojureScript is stable, mature, and feature-complete in its own
104.
▲
by
adamkl
6y ago
Here’s some analysis to back up what you’re saying regarding stability: https://www.groundedsage.dev/posts/the-clojure-mindshare/#he...
105.
▲
by
adamkl
6y ago
I always thought this was a pretty interesting take on the future of web applications/APIs, and aligns pretty closely with what you describe: https://tonsky.me/blog/the-web-after-tomorrow/
106.
▲
by
adamkl
6y ago
> Maybe there should be a new edition of Clean Code written specifically for FP I’ve posted links to this work-in-progress book a few times in the past, but I’m going to do it again because I think it fits the description perfectly. G
107.
▲
by
adamkl
6y ago
That is exactly the premise behind Kafka and LinkedIn's (creator of Kafka) systems architecture. Here's an excellent article on how that architecture looks in practice: https://engineering.linkedin.com/distributed
108.
▲
by
adamkl
6y ago
That's fair. My comment is probably off-base when it comes to the particular contents of this article. I guess I was speaking more to a general fatigue with every new feature that is added to JavaScript/TypeScript. What was so wro
109.
▲
by
adamkl
6y ago
A few more items added to the kitchen sink that is JavaScript. JavaScript's multi-paradigm approach is one of its strengths, but, in my opinion, a weakness at the same time. It allows people to write JavaScript following whatever appro
110.
▲
by
adamkl
6y ago
The JVM is an excellent general purpose, multi-threaded runtime, with a large ecosystem of open source libraries, and its well suited to many types of "back-end" workloads, which is why it was the initial target for Clojure back i
111.
▲
by
adamkl
6y ago
I'm actually thinking about putting together a series of posts on the topic of "Full-stack ClojureScript for JavaScript developers". I've heard ClojureScript described (from a functional programming standpoint) as "
112.
▲
Functional Architecture – The Pits of Success
(youtube.com)
2 points
by
adamkl
6y ago
|
0 comments
113.
▲
by
adamkl
6y ago
> Your CLJS library will not be a first class citizen in the JS world. It can be done but it's not a good idea. Why is this? What makes it a bad idea? Does ClojureScript’s new ‘bundle’ compilation target [0] help resolve whatever is
114.
▲
by
adamkl
6y ago
I was lucky enough to be in the right place, at the right time, to lead a group that scaled this approach across half a dozen different development teams. Fortunately everyone bought into the architecture, and respected the boundaries. Not
115.
▲
by
adamkl
6y ago
> The network should only be tolerated as long as it provides benefits that outweigh the costs. I agree. There should be no need to use network calls to enforce interface boundaries if you have a cohesive bounded context. Or to be snarky
116.
▲
by
adamkl
6y ago
Why not? It really depends on the definition of “do more”. From what I understand, Datomic’s model is far more flexible than many other databases, and has built in time travelling capability due to its accretion of immutable data. It’s arch
117.
▲
by
adamkl
6y ago
I quite like the black-on-yellow theme. It’s different, and distinctive (I’ve read a few things on tonsky’s site, so I know what to expect). Even more hilarious is switching to “dark mode”.
118.
▲
by
adamkl
6y ago
I can’t really speak to Python/Ruby REPLs as I haven’t used them, and I only have experience with Clojure when it comes to Lisps (so I guess I probably shouldn’t even be answering your question due to lack of qualifications), but I bel
119.
▲
by
adamkl
6y ago
Well, with proper REPL integration, you never really type/copy/paste into the REPL. You write your code in a source file like normal, highlight what you want evaluated, and have the REPL evaluate it. Clojure has a great REPL becau
120.
▲
by
adamkl
6y ago
> I want to restructure stuff, make multiple versions of functions, move them in and out of comment blocks or just leave code there for REPL use. I think programming at the REPL requires a very different mindset from how a lot of us lear
More ›