Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
seancorfield
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
seancorfield
4y ago
Because a decade ago there was only Leiningen -- so all the books and tutorials (and videos) created in the early days of Clojure had to use it. At work, we started with lein (back in 2011 for our production code), then we switched complete
32.
▲
by
seancorfield
4y ago
I've been programming with Clojure since 2010 and using it in production almost as long and I hardly ever care about the internal types so I'm really curious as to how you went down that "rabbit hole"? What sort of probl
33.
▲
by
seancorfield
4y ago
Perhaps this is due to how much effort folks want to invest in hobby projects? (that's a broad question aimed at several folks here) At work, we have a codebase of over 142K lines of Clojure, some of which dates back over a decade. We
34.
▲
by
seancorfield
4y ago
It's not a workaround. It's how Clojure is designed, around its REPL, intended for interactive development at its core. Start a REPL, connect your editor, develop. You can start your apps in the REPL (from RCFs in your code -- Ric
35.
▲
by
seancorfield
4y ago
Indeed, yes. For development, if you're finding "slow startup" to be a problem, you're just doing it wrong: start a REPL and leave it running -- mine run for days (or even weeks).
36.
▲
by
seancorfield
4y ago
Yes, definitely this. So many jobs are found through referrals and networking, especially for non-mainstream tech. That said, I was pleasantly surprised recently by a search on LinkedIn for Clojure and found some big household names hiring
37.
▲
by
seancorfield
4y ago
Clojure never had a "shot to become a popular general-purpose language". That was never its goal. Popularity is not a useful measure of whether something is actually good technology. Clojure is designed to solve hard problems, for
38.
▲
by
seancorfield
4y ago
Sigh. Let's address this persistent misinformation. There are many ways to contribute to Clojure and its ecosystem: https://clojure.org/community/contributing -- and a PR or patch is often the smallest, simplest p
39.
▲
by
seancorfield
4y ago
The acquisition was two years ago so I was a bit puzzled as to why this blog post just appeared -- and doesn't talk about what it _has already meant_ for Clojure, over the two years since it happened?
40.
▲
by
seancorfield
4y ago
I'm actually surprised there's even a Java SDK for Slack -- their API is really straightforward to use via plain old HTTP (which is how we interact with it at work, from Clojure).
41.
▲
by
seancorfield
4y ago
As noted elsewhere, it's not either/or here. Some wrappers are worth having and add huge value: Ring vs HttpServletRequest is a classic example, Cognitect's AWS libraries -- built on the same principle -- are another. Wrappin
42.
▲
by
seancorfield
4y ago
Most of the Clojure web frameworks I've seen have been designed and built by fairly experienced Clojurians -- but I'd have to go read each of those frameworks' rationale docs to see _why_ they actually built them.
43.
▲
by
seancorfield
4y ago
Just a nit-pick: clojure.java-time wraps Java's own _immutable_ java.time.* classes and it really doesn't provide much value add. I initially thought it did and introduced it at work but we're taking it out of a lot of our co
44.
▲
by
seancorfield
4y ago
I must admit, I do not understand why (some) people seem to get so excited about the latest "Web Framework" for Clojure, over and over again. Yes, there seem to be a lot of them but they are mostly failures -- they rarely get any
45.
▲
by
seancorfield
4y ago
Could you elaborate on that? I don't do ClojureScript, but I've dabbled with it on and off since 2013 (I've been doing Clojure in production for over eleven years). When I first started looking at ClojureScript, Om was "
46.
▲
by
seancorfield
4y ago
This survey closed on March 11th per https://clojure.org/news/2022/02/22/clojure-2022-survey and we should be getting the results soon.
47.
▲
by
seancorfield
5y ago
If you're using the latest (prerelease) version of the Clojure CLI: # this is a one-off step to install the clj-new tool: (! 646)-> clojure -Ttools install com.github.seancorfield/clj-new '{:git/tag "v1
48.
▲
by
seancorfield
5y ago
You don't even need that -- those are the defaults for the CLI. (! 639)-> mkdir fresh && cd fresh (! 640)-> mkdir -p src/myns (! 641)-> echo '(ns myns.myfile) (defn foo [{:keys [name]}] (println
49.
▲
by
seancorfield
5y ago
Thank you. As someone who follows the (b)leading edge of Clojure and its tooling very closely -- and has run alphas of Clojure itself in production since 2011 -- it's very hard for me now to put myself in the shoes of someone coming ne
50.
▲
by
seancorfield
5y ago
Start a REPL; connect to it. That's identical for every single editor/IDE. The problem is that editor plugin maintainers seem reluctant to encourage developers to start REPLs manually so they have to deal with the whole issue of &
51.
▲
by
seancorfield
5y ago
Now that tools.build is here, I think clj-new can be substantially simplified (copy-dir with text replacement is most of what clj-new does for built-in templates) and when add-libs gets to the main branch of t.d.a or Clojure itself, that ta
52.
▲
by
seancorfield
5y ago
That should read "I use very, very FEW of those aliases"
53.
▲
by
seancorfield
5y ago
I haven't used Datomic at all but I do prefer the CLI and deps.edn for all my projects. I really haven't used Leiningen for years at this point -- I mostly only use it now when I'm helping a beginner debug some problem they&#
54.
▲
by
seancorfield
5y ago
You keep saying tools.deps but I think you mostly mean tools.build here. For the CLI -- which uses tools.deps under the hood (not the brand new tools.build) -- all you need is your deps.edn file: a declarative hash map describing your depen
55.
▲
by
seancorfield
5y ago
That isn't a project deps.edn file though -- it's a compendium of tools that are available for the CLI/deps.edn and I put it together as a working example so folks coming to the CLI/deps.edn stuff could see the broad ran
56.
▲
by
seancorfield
5y ago
We migrated from Leiningen to Boot and then to the CLI/deps.edn. Leiningen was too rigid and too much ceremony to write new tasks for. Boot was great from the "writing new tasks" point of view but the fileset abstraction and
57.
▲
by
seancorfield
6y ago
Look at the 2020 survey and you'll see macOS has lost ground. Both Linux and Windows+WSL have gained ground. I know several folks who've switched from macOS to either Linux or Windows+WSL (I'm in the latter group -- after bei
58.
▲
by
seancorfield
6y ago
REBL was free for personal use before. Commercial use required a Datomic license or a monthly Patreon subscription. REBL is now free for commercial use as well. At least, that's my understanding of this latest bundling change.
59.
▲
by
seancorfield
7y ago
On macOS: brew install clojure Linux can use brew as well, or just download an installer shell script and run it. Windows can use an (alpha) installer for Powershell or use Scoop via this bucket https://github.com/littleli&#
60.
▲
by
seancorfield
7y ago
https://clojurians.zulipchat.com/#narrow/stream/180378-slack... Or you can search (/) and type stream:slack-archive topic:jobs
More ›