skerrick
truss
skerrick | truss | |
---|---|---|
7 | 4 | |
101 | 296 | |
- | 0.0% | |
0.0 | 5.9 | |
about 1 month ago | 28 days ago | |
TypeScript | Clojure | |
GNU General Public License v3.0 only | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
skerrick
-
Tired by the dynamicism
Hey man, I was working on a NodeJS REPL as well https://github.com/anonimitoraf/skerrick but am struggling to deal with imports/exports. Does your REPL solution allow imports/exports?
-
Solution to evaluating JS in buffer
I have looked at swank-js, indium, and skerrick, but none works out of the box (1~2 hours of investment didn't result in anything). Are there people getting this workflow working in Emacs?
- skerrick: REPL-driven development for Javascript
- Skerrick: REPL-driven development for Javascript
- New package: Skerrick - REPL-driven development for Javascript
- Show HN: REPL-Driven Development for JavaScript
truss
-
Java 21: What’s New?
When type checking is needed, I find the Truss library* does the trick quite well.
As for the syntax, there is very little, which can make it a harder lift but once you have the hang of it you won't deal with the issues identified in the parent comment.
* https://github.com/taoensso/truss
-
Tired by the dynamicism
I use truss extensively throughout my code to prevent those types of errors.
-
Python dataclass equivalent
I haven't tried it myself. I generally just use truss for runtime constraint checking. I use a modified version that integrates scope-capture. And malli validation for more complex cases, but I try to limit that. For me it is better to validate individual attributes as needed, vs validating an entire "type"/collection of attributes. So each function only cares about the attributes that it needs, and validates only as needed.
-
Love Clojure, challenged by discoverability
Use assertions for all data requirements inside functions - I use a modified version of https://github.com/ptaoussanis/truss to ensure that I never get NullReference exceptions, and this also helps make functions more self-documenting. Also use this to assert return data.
What are some alternatives?
Rail - A generic NREPL client for Emacs, based on monroe
portal - A clojure tool to navigate through your data.
python-nrepl
scope-capture - Project your Clojure(Script) REPL into the same context as your code when it ran
guardrails - Efficient, hassle-free function call validation with a concise inline syntax for clojure.spec and Malli
spec-tools - Clojure(Script) tools for clojure.spec
quokka - Repository for Quokka.js questions and issues
ghostwheel - Hassle-free inline clojure.spec with semi-automatic generative testing and side effect detection
Indium - A JavaScript development environment for Emacs
malli - High-performance data-driven data specification library for Clojure/Script.
plumbing - Prismatic's Clojure(Script) utility belt