Live data from Hacker News

Elm at Rakuten

engineering.rakuten.today

101–110 of 180 posts

Re: Elm at Rakuten

#101
post #63

What is Rakuten? Why is it on all my Samsung TV's? How come it works out of the box?

> What is Rakuten?

A Japanese tech conglomerate.

> Why is it on all my Samsung TV's?

Because Samsung have no shame and will gladly ruin their own products for a quick buck.

Re: Elm at Rakuten

#102
post #93

Earlier quoted context omitted.

It's a great question! I think there's more than one factor, but the biggest one comes down to setting expectations, especially in the early days. Elm does a lot of things differently than other languages, and while I think that overall those differences have been instrumental to its success, especially early on it sometimes wasn't clearly enough communicated when "this is temporarily different because it's a WIP; yo…

One thing is that it wasn’t communicated that well, but other (and that’s what made me feel really uncomfortable) is that it felt like „This feature is not allowed anymore - except for some dudes, they’re cool enough and can use it” (e.g. native modules, operators). Either keep or drop feature

Kernel code and custom operators are only allowed under elm/ and elm-explorations/, so only 7 core packages can use them. The core developers cannot use those features in projects like everyone else.

Re: Elm at Rakuten

#103
post #18

Earlier quoted context omitted.

> Wouldn't it be difficult to find other developers that are experienced using Elm? Yes, however: - Elm has a very small surface area (you can read through the guide [0] in a weekend) - There are many folks who love functional programming && are willing to learn Elm So, given those two facts, the lack of Elm developers compared to other "markets" is not a big issue. For me, personally, the only risk with Elm is its i…

I appreciate that I am biased because of my background, but I've met precisely one person who's used Elm while just about every dev I know has worked with WordPress at some point. For most enterprises I work with, 10 years in production is about close as they're willing to get to the bleeding edge. They don't really care about code quality or features. They want to be safe, secure and future-proof for as low a price…

My bias is the opposite, probably because I've worked at an Elm shop. But I know zero people with wordpress experience, in my circles I'm the only one I know of with professional php experience at all. But I need more than my hands to count all elm programmers I know.

Re: Elm at Rakuten

#104
post #98

The bus factor of 1 makes it a non-starter for me for any serious project.

I could use Elm as it is today for at least a decade without updates, since it's very stable. Anyway, I am sure there are very competent people from the core devs or from the community that could make a new leadership if that happened.

Your assurances don't particularly mean much - no offense. A decade from now I don't want to have a codebase with a toolchain with no future.

Re: Elm at Rakuten

#105
post #90

Earlier quoted context omitted.

A seasoned small Elm team will probably scale to higher complexity heights than a small JS team in my experience. Same goes for Haskell and the like. The freaking out about "oh no I gotta write a small library myself" is absurdly overblown here. Most of the time I see it, it's people flipping out at the very sight of there not being something available off-the-shelf. The actual cost is much lower than the panic impli…

> The freaking out about "oh no I gotta write a small library myself" is absurdly overblown here This isn't a good representation of the argument. People don't want to write libraries because it's more valuable for everyone to spend time writing features using existing libraries, provided there are good libraries available. People aren't "freaking out", they just have deadlines, and you know, other things to do with…

I would imagine that it's a good representation of their experience of such things, but a poor representation of the experience of such things of the person they're replying to.

Re: Elm at Rakuten

#106

mkose@casper:~/Desktop$ ./elm repl ---- Elm 0.19.1 ----------------------------------------- > Basics.modBy 0 3 Error: Cannot perform mod 0. Division by zero error.

This is correct behaviour, depending on the definition of mod. See, for example: https://math.stackexchange.com/questions/516251/why-is-n-mod...

The promise was no runtime errors.

Re: Elm at Rakuten

#107
post #60

Earlier quoted context omitted.

curious if you using halogen or react-basic? I've gone with halogen for a small project and it's been fine but sometimes i wonder if react-basic is a better choice.

This is an area where I ventured far from the ordinary and wrote my own application framework. I'll eventually open source it and write an article about the process. In short: I was completely sold on the Elm architecture, but I used Haskell too long to be comfortable working without typeclasses, so I went through a couple different elm-like frameworks written for PureScript. I settled on one only to later realize wh…

I thought the idea was that you'd have layers of actions so you have a top level handler of some sort that would then dispatch a contained-within-the-primnary-action component-scoped action and then pull the new component data back into the global store.

(apologies for the lumpy phrasing, insomnia is a pain)

Re: Elm at Rakuten

#108

Earlier quoted context omitted.

A seasoned small Elm team will probably scale to higher complexity heights than a small JS team in my experience. Same goes for Haskell and the like. The freaking out about "oh no I gotta write a small library myself" is absurdly overblown here. Most of the time I see it, it's people flipping out at the very sight of there not being something available off-the-shelf. The actual cost is much lower than the panic impli…

>The freaking out about "oh no I gotta write a small library myself" is absurdly overblown here I don't think it is. At work, I'm adding some basic metrics/logging functionality to an internal library, to see how it's being used. The idea is to log a few parameters and the tech lead suggested using JSON format. No problem right? Well my work environment is quirky and let's just say it is hard to use outside libraries…

The answer is ditch JSON for something already supported (XML? CSV?) or homebrew a more minimal serialization format that you can implement in a couple of days.

Re: Elm at Rakuten

#109
post #90

Earlier quoted context omitted.

A seasoned small Elm team will probably scale to higher complexity heights than a small JS team in my experience. Same goes for Haskell and the like. The freaking out about "oh no I gotta write a small library myself" is absurdly overblown here. Most of the time I see it, it's people flipping out at the very sight of there not being something available off-the-shelf. The actual cost is much lower than the panic impli…

> The freaking out about "oh no I gotta write a small library myself" is absurdly overblown here This isn't a good representation of the argument. People don't want to write libraries because it's more valuable for everyone to spend time writing features using existing libraries, provided there are good libraries available. People aren't "freaking out", they just have deadlines, and you know, other things to do with…

Nah it's a pretty good representation. And acting like time should 100% be spent writing features is shortsighted - sometimes it's worth it to pay fixed costs such as filling in a gap of the ecosystem of the language you chose for higher reasons than cranking out business code.

Re: Elm at Rakuten

#110

mkose@casper:~/Desktop$ ./elm repl ---- Elm 0.19.1 ----------------------------------------- > Basics.modBy 0 3 Error: Cannot perform mod 0. Division by zero error.

[deleted]
Post reply on HN