Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Skinney
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
271.
▲
by
Skinney
7y ago
We actually do have react in production as well. The header on our website is a react component, and our app is written in react-native. We also tried out flow for a while. Elm compiles faster, has better error messages, is a simpler langua
272.
▲
by
Skinney
7y ago
a) Many things that are runtime exceptions or silent errors in other languages, are compile errors in Elm. b) Immutability, strong type system and few language constructs make local reasoning very easy. Developers spend less time chasing bu
273.
▲
by
Skinney
7y ago
> To understand this correctly; 'we' means the company 'Bekk' and the customer is 'Vy', right? Right. Good question! Vy has their own developers for this very reason. The teams here are a mix of Bekk and Vy
274.
▲
by
Skinney
7y ago
Elm was chosen in 2017, and initial development was being done by 2-3 developers. Now, development is being done by 15-20 developers. Some of those developers came because of Elm (like me) and some came because our problem domain is interes
275.
▲
by
Skinney
7y ago
The customer was involved from the very beginning. Everything we do at Vy is done in close collaboration with the customer. Our experience is that previous Elm experience isn't necessary, as the language is very easy to learn, and peop
276.
▲
Re-writing the site of Norway's largest transport provider in Elm
(blogg.bekk.no)
197 points
by
Skinney
7y ago
|
104 comments
277.
▲
by
Skinney
7y ago
I don't write Picat, but when I write Prolog the color scheme for Emacs gives those operators a bright color so they stand out.
278.
▲
by
Skinney
7y ago
The commas and dots are operators, not syntax. one, two, three. Is essentially compiled down to: if (one && two && three) { return three; } Whereas one, two, three; one, four. compiles down to: if (one && two &&a
279.
▲
by
Skinney
7y ago
Regarding number of languages, I don’t agree that it signifies a problem. For instance, F# doesn’t exist because OCaml is bad, but because there was room for a functional language with good interop with .NET. Same story with Clojure vs Comm
280.
▲
by
Skinney
7y ago
Yes. I’d assume those would come rather quickly once generics are added.
281.
▲
by
Skinney
7y ago
Maybe. But then even FP languages are considered OOP, as most of those languages have records and interfaces.
282.
▲
by
Skinney
7y ago
I disagree with it being OO when it doesn’t have inheritance. No classes or class hierarkies, no passing things along to children. Seems very different than what those who invented OO had in mind. Structs with functions attached is easy, an
283.
▲
by
Skinney
7y ago
Neither Go nor Rust has objects or inheritance.
284.
▲
by
Skinney
7y ago
We don’t have more FP languages than OOP languages, and several languages that are considered FP have their own implementation of OOP (OCaml, Common Lisp...) in addition, several OOP languages are now implementing classic FP features like l
285.
▲
by
Skinney
8y ago
Pretty much always. I mean, as a frontend developer I'm dealing with an untyped api all the time: the backend. We've written pretty huge software using many untyped services, and we're doing fine.
286.
▲
by
Skinney
8y ago
The Elm plugin for IntelliJ is really good.
287.
▲
by
Skinney
8y ago
I could be wrong, but I don't think Elm re-triggers side-effects when you go back in time. It just brings back the state as of that moment in time.
288.
▲
by
Skinney
8y ago
Java does do escape analysis to allocate certain things on the stack.
289.
▲
by
Skinney
8y ago
Because JSON encoding/decoding was not found to be a typical performance bottleneck, and because JSON is supported in virtually every programming language (Xi allows you to write frontends in pretty much any language you want).
290.
▲
by
Skinney
8y ago
> While I like the language very well, tooling does have issues, even simple things like not distributing Leiningen with Clojure when it is almost essential for any serious development. Version incompatibilities between Leiningen and Clo
291.
▲
by
Skinney
8y ago
A breaking release over 7 years ago, doesn't mean that having no (as far as I know) breaking changes for the last 6 years is any less impressive.
292.
▲
by
Skinney
8y ago
Travis supports both Bitbucket and Gitlab
293.
▲
by
Skinney
8y ago
> Bytecode or ‘Intermediate Language’ (IL) changes. The main > place that the implementation of generics in the CLR differs > from the JVM is that they are ‘fully reified’ instead of > using ‘type erasure’, this was possible be
294.
▲
by
Skinney
8y ago
Microsoft broke backwards compatibility when they introduced generics in .NET 2.0. Java, on the other hand, is still getting flac for refusing the break backwards compatibility to introduce reified generics.
295.
▲
by
Skinney
8y ago
That's like saying Go will never get generics because it doesn't have it right now. Evan doesn't believe type classes are a right fit for Elm, but he has never to my knowledge ruled out that ad-hoc polymorphism will be added
296.
▲
by
Skinney
8y ago
You’re describing errors. Errors do occur in Elm, but they rarely lead to crashing. The type system forces the developer to deal with the error, so that, hopefully, the user of the app has a better experience than a non-responsive web page.
297.
▲
by
Skinney
8y ago
«Cannot crash» != «cannot fail». There are a bunch of things in Elm that can fail, but the language forces you, «through types», to deal with those situations. That doesn’t mean developers make apps that deal with errors reasonably, but the
298.
▲
by
Skinney
8y ago
Evan works at NoRedInk which has 250 000 lines of Elm in production.
299.
▲
by
Skinney
8y ago
> the time for that is long gone What makes you say that? Elm has yet to reach 1.0, anything can happen. It's not likely it will happen any time soon, however.
300.
▲
by
Skinney
8y ago
I guess Go is the only language which comes close, which has map and array/slice which cannot be implemented in the language itself. Though it's the lack of generics, not ad-hoc polymorphism which is Go's lack. Then again, it
More ›