Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leshow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
83 ms
·
901.
▲
by
leshow
10y ago
Correct me if I'm wrong, but it looks like this just provides some 'safe' alternatives to unsafe C++ things. It's still up to the diligence of the programmer to not use those things and nothing is getting statically veri
902.
▲
by
leshow
10y ago
the lesson here is not to choose a bunch of random libraries you have no experience with. there was likely no need for you to: 1. create your own build system when something like create-react-app exists 2. use something like redux-saga when
903.
▲
by
leshow
10y ago
Rust is great. I've been following it since pre-1.0 and writing code with it for about as long also. It's really come a long way, my favorite language for pretty much anything except web development.
904.
▲
by
leshow
10y ago
No, those don't really appeal to me. I think Elm had a great middle ground for a while pre-0.16 with Signals. I'm just disappointed at what I see as a lack of positive change for the language. The more stuff that becomes compiler
905.
▲
by
leshow
10y ago
"better" is so arbitrary that I'm afraid it's pretty much "what does Evan-san want"
906.
▲
by
leshow
10y ago
You know c++ but you're worried about the complexity of Rust? I'm mostly a front-end software engineer and I got along just fine with Rust.
907.
▲
by
leshow
10y ago
My mistake, I thought you were saying I could still have the syntax features I wanted in the language. I like the range syntax, and backticks, and calling functions'. I also liked signals and having access to more stuff that is now &#x
908.
▲
by
leshow
10y ago
Explain the 'other ways' I can name a function with a prime or use backticks now that the compiler won't allow it.
909.
▲
by
leshow
10y ago
The syntax was hardly 'arcane', and I doubt it was necessary to remove these features for the purpose of streamlining the compiler, that sounds a bit ridiculous. In fact you could argue that throwing an error on functions' is
910.
▲
by
leshow
10y ago
I've been waiting for 0.18 in anticipation because I had heard we might get server rendering. Instead a bunch of language and syntax that I enjoyed was removed from the language, but I get better bug reports? The export button is broke
911.
▲
by
leshow
10y ago
I use Atom on Debian and Arch without any problems
912.
▲
by
leshow
10y ago
I'd like to refer you to the article that was posted earlier today on exactly this technique in Elm: http://reasonablypolymorphic.com/blog/elm-is-wrong
913.
▲
by
leshow
10y ago
Your claim was that Elm isn't boilerplate heavy, but without these types of abstractions, it is. Perhaps you can't see the benefit and you're happy writing 10 implementations of "show", but don't claim there is
914.
▲
by
leshow
10y ago
Extracting to a helper function doesn't change the fact that there is boilerplate that must be overcome by brute force when composing "components". Every sub update function needs to be manually wired into the main update fun
915.
▲
by
leshow
10y ago
As an example, I see code all the time with many showX functions whose sole purpose is to turn come ADT into a string, this is the kind of boilerplate that would be reduced with some kind of abstraction mechanism. Same for map operations, f
916.
▲
by
leshow
10y ago
Your response to all the criticisms about boilerplate is basically sticking your fingers in your ears and going "nananana". Elm code is boilerplate heavy, it's a trade off you guys have made to make the language simple. That&
917.
▲
by
leshow
10y ago
The problem is the compiler magic for what is 'comparable' is unavailable. This doesn't solve that problem. It creates an entirely new data structure that is mostly a copy paste of the stdlib Dict.
918.
▲
by
leshow
10y ago
Blind faith might be enough for you but I don't buy it. The original issue was 3 years ago.
919.
▲
by
leshow
10y ago
Perhaps not, but it seemed like an issue even in small sized apps that I wrote. I think that Evan and Richard are personally invested in the language and can't see it's shortcomings.
920.
▲
by
leshow
10y ago
How do you compose update functions without writing the boilerplate let ... in for every Msg? How do you stop your main update function from growing endlessly as you add new Msgs? You need only look in the standard library for examples of b
921.
▲
by
leshow
10y ago
This is unconvincing to me. Just because Evan and his friends are happy to write boilerplate and copy-paste the same stuff over and over doesn't mean it's the right thing to do.
922.
▲
by
leshow
10y ago
You think Evan is just waiting around for the right abstraction to dawn on him? It's been years with not one bit of code written in the direction of adding a mechanism for abstraction in the language (whether that be typeclasses or som
923.
▲
by
leshow
10y ago
If you want to write anything non-trivial in Elm you need to use native modules though because the language doesn't give you access to any of it's "magic"
924.
▲
by
leshow
10y ago
what is the feature you're talking about? I don't see any innovation in elm on the order of a GC or a type system. Perhaps you're referring to Elm's "feature" of removing the ability to create abstractions away
925.
▲
by
leshow
10y ago
> He came to Elm expecting a Haskell for the web No, I don't think that's true. He came to Elm hoping there would be some useful ways to create abstractions in the language (that doesn't necessarily mean there has to be ty
926.
▲
by
leshow
10y ago
you mean Stockholm?
927.
▲
by
leshow
10y ago
How would you enumerate over a union type? as far as I know there is no way to do that in Elm. Can you show your one line map call youre talking about
928.
▲
by
leshow
10y ago
I don't think it's a generalization, and I don't really care that you "know several vegans" that disagree.
929.
▲
by
leshow
10y ago
I did a quick over-look of the information on the site, but it looks to me that this is a pretty bad 'password manager' it looks like anyone can try to brute force your password based on the login/site combo. can someone tell
930.
▲
by
leshow
10y ago
really? this to me just seems like knowing the language you're going to be working with every day. If you don't understand these concepts, how could you be an effective developer?
More ›