I've always been fascinated to hear @stuarthalloway talk about using an #emacs environment that changes once/decade. Enjoying catching up on @JacekSchae #Clojurescript Podcast, Great interview about his insight into Spartan IDE and clean mental attics. https://soundcloud.com/user-959992602/s2-e2-repl-with-stuart-halloway
Shortly after reading this I lived it in a #ClojureScript react wrapper:
---
RT @nathell
Did you know React catches common typos and warns you against them?
https://github.com/facebook/react/blob/main/packages/react-reconciler/src/ReactFiberClassComponent.new.js#L499 https://t.co/TDarG8qaqe
https://twitter.com/nathell/status/1457057928561704963
I got it, never to be troubled again by how to do full-stack AJAX file uploading in #Clojure #ClojureScript! https://orys.us/uf
RT @wazound
shaunlebron's Tetris tutorial for #Clojure and #ClojureScript is really wonderful.
Is it weird that optimizing JavaScript is such a dinner discussion for #ClojureScript? I never thought about it when I was more of a JS dev, but things like Google Closure say I should've. Doing his amazing optimization thing, I highly recommend @mfikes
https://github.com/mfikes/cljs-bean/blob/master/doc/overview.md
---
RT @mfikes
Messing with update-vals in ClojureScript REPL, using cljs-bean to increment values in a JavaScript object
Good advice. Follow these steps and your soul will be ready to graduate to #clojurescript
---
RT @DThompsonDev
Path that I recommend for web dev beginners
- HTML
- CSS
- GitHub & Git
Learn about the basics of version control early on, plus you feel like a hacker! Lol
- Javascript
- understand APIs & how much it helps!
- Framework/Library (Angular, React etc)
Now you're a frontend dev!
https://twitter.com/DThompsonDev/status/1456965896170266626
#ClojureScript framework? Time to take a look!
---
RT @mccrmx
🦊 I'm excited to announce Sitefox v0.0.1!
It's a ClojureScript backend web framework that runs on Node. One year ago I went all in on full stack cljs and Sitefox is the result.
#clojure #clojurescript #webdev
https://github.com/chr15m/sitefox
👇 See the next tweet for quick start cmds.
https://twitter.com/mccrmx/status/1454341307787137026
Normally I'd say, "isn't that great?" But today I realized the rules seem a little different with #clojurescript. I learned that I don't know enough about interceptors and controllers, or transducer pipes, but there is never a hippopotamus operator or new [...] syntax
---
RT @MrAhmadAwais
As a JavaScript developer, every day I know less. 🧠
https://twitter.com/MrAhmadAwais/status/1452351296737058816
Here are my choices:
🎨 #ClojureScript -- Reagent or Re-Frame (both tried and proven w/react.js)
🖥 #Clojure JVM for entire Java ecosystem
🪣 Clojure - PostGres w/HoneySQL, or TXDB for raw-Clojure high-performance Datalog
🚢 Uberjars for 1-line deploy, with Jenkins for CI/CD
---
RT @robertbalazsi
What's your tech stack and why?
Here are my choices:
🎨 Frontend: React, MaterialUI (robust, mature, I'm familiar with them)
🖥️ Backend: No…
https://twitter.com/robertbalazsi/status/1452545826228776961
RT @PrestanceDesign
A very good reading about #ClojureScript performance for this week end. https://twitter.com/juxtpro/status/1451165834798419972
ua-parser-js has been compromised. Bitter cheers to #Javascript #NPM users! Glad I'm not using NPM much in my #ClojureScript projects.
Great article from Juxt on performance of #Clojurescript apps. In particular I'm happy to have called out the issue with lambdas in reagent functions, as that one has bit me before. https://www.juxt.pro/blog/clojurescript-app-performance
Garden makes #css in #clojure and #clojurescript something of a joy. Check out how these selectors work out, and of course auto-updating means editing styles in the browser's editor is much less necessary.
That's part of the beauty of #clojure. Since the same language is on the backend in JVM and front in #Clojurescript, the hosted transpiling sidesteps any "not real programmer" vibes. Not to mention, #lisp. They might hate your parens, but they know you're a programmer.
---
RT @bentlegen
It’s incredible how fast our industry went from “html isn’t real programming” to “rust programmer thinks publishing a website is too hard”
https://twitter.com/bentlegen/status/1448423119249608706
And then you learn immutable data, #clojurescript cond, no need for booleans, vectors and maps instead of arrays and objects, and if you don't get the magic back, at least it's even more fun now!
---
RT @TheJackForge
Before I knew web development, I thought the Internet was magic.
Then the magic fades once you realize that it's just arrays, objects, booleans, and IF/ELSE statements. 😅
https://twitter.com/TheJackForge/status/1448613801767489538
Cheers for documentation well done! Check out #clojure #clojurescript #re-frame docs: https://day8.github.io/re-frame/FAQs/Inspecting-app-db/#short-answer
Some readable #Clojure and #Clojurescript codebases. Discussing readability requires an obligatory mention of @elementsofclj book too.
- This project tangles orgmode to #clojure for literate programming. https://github.com/thi-ng/geom/blob/feature/no-org/org/src/viz/core.org
- For a major used library, I knew I couldn't go wrong with Corfield, so check out HoneySQL https://github.com/seancorfield/honeysql/blob/develop/src/honey/sql.cljc
- Here is a new in-development #ClojureScript one with the Lambda Island stamp of approval, asd seems pretty readable to me:
https://github.com/lambdaisland/deja-fu/blob/main/src/lambdaisland/deja_fu.cljs
- And here is a small old "finished" one where I recently read the code to figure out how to do what the docs didn't mention:
https://github.com/alandipert/storage-atom/blob/master/src/alandipert/storage_atom.cljs
Just read a libraries code to figure out how to supplement its Transit readers, easy peasy, because the docs haven't been updated in years and didn't include that tidbit. Feels good! #Clojure #ClojureScript
in #clojurescript
(clojure.string/replace "Hello World Johnny" #" " "")
---
RT @swapnakpanda
🚀 Problem Solving
Given a string input, you need to extract only non-whitespace characters and returns the string.
Example:
Input → "Hello World Johny"
Output → "HelloWorldJohny"
Can you write just a one-liner code for it?
Hint in JavaScript: You can use split, join etc.
https://twitter.com/swapnakpanda/status/1446029146853818368
RT @RobStuttaford
We shut down an internal content management tool today.
It was built by Clojure newbies (us in 2013). It served us for 8 years!
#clojure #clojurescript #datomic are stable tech :-)
Full Stack Clojure web app engineer