9 ms·
What I've learned since quitting Elm
- xrd 8y agoQiita is a really interesting Japanese alternative to StackOverflow. It's rare someone writes something in English, but fun to practice your Japanese and technical Japanese is often cleaner and easier to understand than written or heaven forbid spoken colloquial Japanese.
- allover 8y agoOh I guess that explains why the 'break-word' word-wrapping. I thought it was an odd choice!
- yellowapple 8y agoYeah, I was losing my mind trying to read that. Now it makes sense in context, but still.
- imhoguy 8y agoTo me it looks more Medium-like, not Stack Overflow Q&A form.
- SenHeng 8y agoIt's more of a 'Medium for tech' than StackOverflow. The Japanese equivalent for SO would be teratail [0] [0]: https://teratail.com https://teratail.com
- MBCook 8y agoOT: I’ve never seen this before, but for some reason when reading this on my phone the line breaks are... anywhere. In the middle of words in places that make no sense. “... spare time trying o ut Elm, to render...” It’s basically unreadable without Safari’s reader mode.
- aaaaaaaaaab 8y agoCause: word-break: break-all
- philipov 8y agoIt certainly did break-all of it!
- deleted 8y ago[deleted]
- rzzzt 8y agoThe "word-break" property is set to "break-all" on paragraphs: https://developer.mozilla.org/en-US/docs/Web/CSS/word-break https://developer.mozilla.org/en-US/docs/Web/CSS/word-break
- cc81 8y agoFor some reason he has word-break: break-all in the css
- brazzledazzle 8y ago>To prevent overflow, word breaks should be inserted between any two characters (excluding Chinese/Japanese/Korean text). I assume this is normally a Japanese language site.
- PhasmaFelis 8y agoSame on desktop/Firefox. Yikes.
- gdamjan1 8y agoclick the "reader view" icon (ctrl-alt-r)
- chengiz 8y agoSame on firefox, desktop. Call me shallow but I wont read an article on programming from someone who spends their time tweaking css, poorly.
- pq0ak2nnd 8y agoMan I need to do a sudo apt upgrade on my brain: I read the title and thought he was talking about ELM the email client, and was like: yeah, we all stopped using that in the early 90's when zmail showed up.
- pvg 8y agoLies. Elm users switched to mutt.
- Existenceblinks 8y agoEvery single Elm language thread there exists at least a person makes joke of ELM email client. And then somewhere there exists Elm developers make fun of those people.
- pq0ak2nnd 8y agoi'm new here and learning that HN is more serious than /. or reddit. probably because people here refrain from posting obvious / useless comments like mine. getting the hang of it...
- Existenceblinks 8y agoI'm also new :) and didn't intent to discount any comment (it's not useless) I agree that HN is quite serious, that's why I rarely comment. I'm actually a fun person lol
- jimjimjim 8y agoSame thing happened to me when slack turned up and I was still using slackware.
- yawaramin 8y agoOK, thanks for letting us know your thoughts on this.
- mdhughes 8y agoI used elm until late-90s when Y2K looked likely to end it. What I've learned since quitting elm is that mutt was better at processing large mailfiles, and then Apple Mail is easier to automate with AppleScript. This "Elm" is some sort of JS precompiler, claiming a better program's name? Join the post-ES6 scrapheap with CoffeeScript, TypeScript, and every other joke precompiler. Write JavaScript in JavaScript, and if it's not sufficient, file bugs on ES6/7.
- leshow 8y agoI feel like I went through all of the same frustrations as the OP starting from Elm. It's a fun language, but the restrictions the bdfl puts in place make you quickly outgrow it.
- raffomania 8y agoI'm using elm so I don't have to learn any of these things. I enjoy knowing almost all parts of the language. Also, in 95% of the cases, it provides enough flexibility to solve the task at hand.
- throwaway237468 8y agoThe problem is in the last 5% though. If Evan thinks it's a bad idea or requires more thought, you literally can't do it. The websocket package is currently being held hostage because he wants to improve the API. Since you can't include native code even in private projects now, you can't fork and fix numerous bugs that have an open PR for 2 years+. That means I have to stick with 0.18 which has several compiler bugs because 0.18 is not gonna get a bugfix release.
- raffomania 8y agoI agree, this is definitely a problem, especially for more ambitious use cases. I've done quite well without e.g. typeclasses, though.
- atrilumen 8y agoI say keep Elm weird, and simple. Just use socket.io with ports and chill.
- DoofusOfDeath 8y agoI don't know if you inteded this, but in many contexts telling a person to "chill" is implicitly insulting. You may find it distracts from whatever technical point you were trying to make.
- atrilumen 8y agoFair point. I'm just saying, maybe don't get too hung up on it. Just use ports and move on. I don't see why this is ever a big deal with Elm.
- deleted 8y ago[deleted]
- AzzieElbab 8y agoAnyone getting deeper and deeper into fp is destined to end up with Haskell or purescript. No matter if you start with elm, scala, elixir or reason. Then, of course you work with Haskell for a bit and end up going back to whatever you started with unless your work in PL research or similar
- Touche 8y agoReminder that lisps are FP too.
- deleted 8y ago[deleted]
- AzzieElbab 8y agoJS is a bad lisp
- kjeetgill 8y agoDepends on which lisp and who you ask. For many, functional programming is just as much about expressive type systems, purity, and immutability as is about robust first-class funtions and higher order functions. Lisp is like the python version of Haskell (as compared to Java I guess?) It's a rough metaphor but I think it makes enough sense.
- Touche 8y agoI know that many today use "functional" to mean ML-derived languages but that definition is incorrect. Lisps are not very much like Haskell at all, and have different goals. Which is why today's ML-centric worldview of functional programming so often forgets about them.
- tazjin 8y ago> Then, of course you work with Haskell for a bit and end up going back to whatever you started with Why do you think that? Haskell sees pretty widespread industry usage these days.
- deleted 8y ago[deleted]
- johnklos 8y agoYou tricked me. I thought this was about the email client named Elm.
- plainOldText 8y agoUpon reading the post, I realized how click-baity the title really is. There’s only a brief statement about Elm, in the beginning, describing why the author has quit using Elm, and then: > In this post, I'll just highlight some of the most important things I've learned since the beginning of 2016 by using PureScript. Quitting Elm has little relevance to what the author has learned about PureScript. I guess the title could’ve just simply been What I learned in PureScript
- star-techate 8y agoYou can learn things in one language that you might as easily learn in another. The argument here is that you wouldn't learn these things from Elm.
- purplezooey 8y agoWhy is everyone talking about some email client from the early 90s. Switch to pine if you don't like elm.