Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ccapndave
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
ccapndave
2y ago
Enjoying this so far! One initial comment is that I'm not sure the JS examples should all be embedded in an HTML page; why not code them to be run in node which means you can scrap the `script` tags and use `console.log` which is shor
2.
▲
by
ccapndave
6y ago
Reason is still an alternative syntax to OCaml for native development, although I have no idea how many people actually use it for that.
3.
▲
by
ccapndave
6y ago
Basically Bucklescript have forked their own (very similar) syntax from ReasonML and branded the whole syntax + Bucklescript + compiler package as ReScript. I suppose the goal is to eliminate the confusion of having so many moving parts an
4.
▲
by
ccapndave
6y ago
ReScript is specifically ReasonML with Bucklescript, which is for transpiling down to Javascript. They also made a few minor syntax changes that make it look a bit more like Typescript.
5.
▲
by
ccapndave
6y ago
I used ReasonML and Bucklescript for a self-contained part of a massive Typescript project to try it out and it was a joy . Here's hoping more people find out about it and it gets some more widespread adoption.
6.
▲
ReScript (previously BuckleScript and Reason)
(rescript-lang.org)
22 points
by
ccapndave
6y ago
|
13 comments
7.
▲
by
ccapndave
10y ago
Other people's comments explain the details well, but I wanted to say that I have a large (real-world) project where the bulk of the app and all the business logic is in Elm, and all the more fiddly UI bits are in Typescript. The two l
8.
▲
by
ccapndave
10y ago
I disagree - I think that firstly Evan wants to implement the right abstraction (which he doesn't think is traditional Haskell type classes), and secondly its simply not a priority.
9.
▲
by
ccapndave
10y ago
http://package.elm-lang.org/packages/eeue56/elm-all-dict/lat...
10.
▲
by
ccapndave
10y ago
Despite the abrasive tone of this article, it is true that Elm misses a convenient level of abstraction (whether that be type classes, module functors or whatever). I spent the first few weeks of my first Elm project fighting against the la
11.
▲
by
ccapndave
10y ago
If you don't mind using remote developers, then your location doesn't have to matter. It's true that it might be a bit harder to find a developer (although Elm is getting more popular day by day), but the other side of the co
12.
▲
by
ccapndave
10y ago
Its true that you can't currently write a service worker in Elm. However, in practice for any decent size app you are going to end up with a mix of Elm and Javascript with communication happening through ports. Therefore you can writ
13.
▲
by
ccapndave
10y ago
You take that back! I've been using it professionally for about 6 months.
14.
▲
by
ccapndave
10y ago
This is certainly annoying at the moment (although there are workable hacky solutions). However it's a well known issue and there is movement at https://github.com/elm-lang/html/issues/19 so hopefully i
15.
▲
by
ccapndave
10y ago
I suppose if anything it is the customer subscribes. But actually, in practice, it doesn't really feel quite like this because in FP you just have a bunch of functions and there isn't the concept of things 'owning' othe
16.
▲
by
ccapndave
10y ago
It took me about a day and half to upgrade a good sized project, and most of that time was spent sorting out native code. If you don't use native code and are using StartApp then its a fairly trivial/methodical upgrade process.
17.
▲
by
ccapndave
10y ago
Another approach is to use extensible records, which give you structural typing similarly to Typescript. This means that you can pass the exact same state record/object around to different components, but a particular component might
18.
▲
by
ccapndave
10y ago
I've never used ClojureScript so I can't speak for that, but the ports are now a lot easier in 0.17 as an outgoing port is simply a function that you can call, instead of messing about with Signals. Effectively, you send stuff to
19.
▲
by
ccapndave
10y ago
Its a little wordy, but now that I'm used to it, it takes no time to write decoders/encoders. There is also a tool to automatically generate them from JSON input at http://noredink.github.io/json-to-elm/
20.
▲
by
ccapndave
10y ago
I moved from React/Redux/Typescript to Elm a few months ago, and I'm now on my second serious project with it, making mobile application with Cordova. I've found it an absolute pleasure to use, and I especially like tha
21.
▲
by
ccapndave
14y ago
SEEKING FREELANCER(s) - remote only Davex Global is looking to expand its roster of remote freelancers. Right now we are looking for super-duper HTML/jQuery/CSS/Bootstrap frontend devs and PHP/CodeIgnitor/MySQL backend devs. If this sound
22.
▲
by
ccapndave
15y ago
bpm ( http://www.getbpm.org/ ) works with Amber and compiles multiple Javascript, SCSS and Coffeescript into a single JS and CSS file. It also has a mode where it does it in realtime for development use.