3 ms·
Sorry to hear about the shutdown, and it looks like it was a pretty useful tool. Great that they open sourced it. The source code looks very interesting (and a
by nathan_f77 8y ago
Sorry to hear about the shutdown, and it looks like it was a pretty useful tool. Great that they open sourced it.
The source code looks very interesting (and a bit unusual for a React app.) [1]
Looks like Coffeescript + "Coffeescript JSX", which I hadn't heard of before.
I didn't look too closely, but I didn't see how they're doing state management in the editor. No Redux in the package.json [2]. I was hoping that I might be able to repurpose some of this for a new project I'm working on, but it all looks very foreign to me [3], and the file organization doesn't seem to follow any conventions that I'm familiar with.
[1] https://github.com/Pagedraw/pagedraw/tree/master/src https://github.com/Pagedraw/pagedraw/tree/master/src
[2] https://github.com/Pagedraw/pagedraw/blob/master/package.json https://github.com/Pagedraw/pagedraw/blob/master/package.jso...
[3] https://github.com/Pagedraw/pagedraw/blob/master/src/editor/edit-page.cjsx https://github.com/Pagedraw/pagedraw/blob/master/src/editor/...
- dinedal 8y agoThe reason they didn't use redux was explained in the medium post.[1] > We just used global mutable state instead of the whole immutable Reduxy patterns people liked to enforce. It was simple and it worked great. [1] https://medium.com/@gabriel_20625/technical-lessons-from-building-a-compiler-startup-for-3-years-4473405161cd https://medium.com/@gabriel_20625/technical-lessons-from-bui...
- jpochtar 8y agohttp://www.paulgraham.com/avg.html http://www.paulgraham.com/avg.html is how we felt about Coffeescript + JSX
- shubhamjain 8y agoFrankly, picking a non-conventional language in order to associate yourself with "true hackers" is PG's least useful advice. I am not even sure if he would still agree today. Hackers use the language they are most comfortable with and that gets things done. Everything else is secondary. I wrote a blog post on the subject [1]. [1]: https://shubhamjain.co/2018/12/01/why-paul-graham-wrong/ https://shubhamjain.co/2018/12/01/why-paul-graham-wrong/
- jpochtar 8y agoYeah we didn't do it for the hipster cred— we did it because I agree with PG that some languages are better than others, and Coffeescript is just better than Javascript.