At the end of 2019 the project Wenyan programming was quite popular among Chinese community. I thought Cirru is capable of building something similar. I started jiuzhang-lang(or 九章编程 in Chinese) and had fun for a while. At least it’s runnable on browser and on Node.js CLI tool
It’s a really rushed year. Things came and I was not prepared. I didn’t get much chance to travel and take ease, but lots of time was spent on coding. Another reason is I have a personal Todolist running small tasks, which are mostly related to coding. So as a result coding ate big part of my spare time.
There were 5 major projects I was working on in 2019, big or small. Other commits belong to the toolchains or tiny apps, or projects running in the company.
This project was started beforing Spring Festival. …
There was a post in 2017 talking about React.js community in China,
At that time I was working in Ele.me, which chose Vue.js as it’s primary framework. Vue is great. I just has more knowledge in Functional Programming than in Observables.
It has been 2 years now. Besides, I joined VueConf Shanghai yesterday and talked to many friends there. Vue is even more quite popular in China after two years. Now it’s the 3rd Vue Conf in China after two of them held in Beijing and Hangzhou. …
ClojureScript user, created Respo,
Have you ever thought?
What a front-end MVC framework would be like in the future?
I don’t know, but I got an idea, I don’t like repeat someone’s work, like translating Sketch file into JSX/CSS.
Respo Composer is a experimental tool, edit and preview template by a designer, handle action by a programmer.
I have too GitHub accounts, the first one is my personal account, which is mainly using ClojureScript in the 2018:
The other one was used at work, in TypeScript and React. Sometimes I have chance to code my tools with ClojureScript so I can make my work a little more efficient:
For the impatient: just show the tutorial, how to compile and run(with shadow-cljs)?
There was a poll on Twitter I tried to ask people why they don’t like ClojureScript,
Many people responded with “Not known how to build it”. By the word “build”, I mean mostly “compiling”. Not sure if someone takes it like “structuring” or something.
The “compiling” problem is much easier today I would explain later. For the “structuring” part, I don’t think I can really answer it. To create a browser project you will need a UI library like Reagent, Rum, Om, or even use React(with…
We built several apps in our start-up. mobx-state-tree(MST) was an early choice to replace Redux. As I joined, the codebase has quite some code in TypeScript, MobX, and MST. We are mainly working on 2 of them. The apps are management systems for setting configurations and displaying charts, as well as editing graphs. After we worked on these apps for several months, the codebase grew a lot larger.
MST might not be the best tool for our case, while it’s still powerful one. I feel there are some pain points.
As we put more and more data inside a single…
Learning Clojure is hard. I don’t have many friends in my city, which is Shanghai. So no one is going to teach me Clojure. I bought books about Clojure but still not…
shadow-cljsprovides everything you need to compile your ClojureScript code with a focus on simplicity and ease of use.
To install shadow-cljs, use npm:
npm install -g shadow-cljs
shadow-cljs requires Java, make sure you have Java installed. Don’t worry, shadow-cljs handles Java for you. If you still want to learn more about ClojureScript, checkout this list.
Say you have a project:
│ └── index.html
│ └── app
│ ├── lib.cljs
│ └── main.cljs
assets/index.html(please copy it to
target/index.html in order that it can be accessed) looks like:
Not really sure if people from English world are interested. I’m going to just add some notes here in case someone needs.
微博 http://weibo.com is like Twitter. Tech messages…