TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Messenger.com Now 50% Converted to Reason

284 pointsby erwanover 7 years ago

28 comments

reustleover 7 years ago
Looks like Reason has the same PATENTS license as React, for those wondering:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;reason&#x2F;blob&#x2F;master&#x2F;PATENTS.txt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;reason&#x2F;blob&#x2F;master&#x2F;PATENTS.txt</a>
评论 #15210405 未加载
评论 #15210166 未加载
评论 #15212046 未加载
评论 #15210397 未加载
评论 #15209873 未加载
评论 #15211819 未加载
sotojuanover 7 years ago
I&#x27;ve heard that Reason is essentially what Jordan Walke (React creator) was trying to make with React. Maybe that&#x27;s wrong, but he&#x27;s the head of this project and it looks great. Also props to FB engineering for having faith in him with React and this.<p>Wondering if Reason will take off and what it will mean for languages like Elm or ClojureScript.
评论 #15209814 未加载
评论 #15209823 未加载
Xeoncrossover 7 years ago
&gt; external get_internal : map &#x27;a &#x27;b =&gt; &#x27;a =&gt; Js.undefined &#x27;b = &quot;get&quot; [@@bs.send];<p>I like languages that are readable. This is starting to look like codegolf. <a href="https:&#x2F;&#x2F;github.com&#x2F;reasonml-community&#x2F;reason-react-hacker-news&#x2F;blob&#x2F;master&#x2F;src&#x2F;JSMap.re" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;reasonml-community&#x2F;reason-react-hacker-ne...</a>
评论 #15210231 未加载
评论 #15210000 未加载
评论 #15210220 未加载
评论 #15211790 未加载
评论 #15211273 未加载
sargunover 7 years ago
I&#x27;m really excited about reason. The front end community is adopting functional programming (concepts) at breakneck speed. I think this opens us up to more advanced type systems, and generative testing (property testing, say).<p>These are exciting times.
评论 #15210077 未加载
arianvanpover 7 years ago
It fills my heart with joy that the javascript community is adopting so many functional paradigms and languages.<p>I come from a heavy haskell background, and don&#x27;t have a lot of ML experience so gave been betting on Purescript recently. But reason seems really nice. Good luck with the port! A success for Functional Programming
radium3dover 7 years ago
I just discovered messenger lite after uninstalling the main bloated battery sucking messenger app and I&#x27;m sad they chose not to release it in my country. It&#x27;s fantastic! Also messenger.com really needs a lite browser app version for phones and to improve their browser version of Facebook. They&#x27;re really out of the loop in my opinion. Since removing all Facebook apps, including instagram and going to browser app only I&#x27;ve increased my battery life significantly.
skybrianover 7 years ago
Based on the roadmap [1], they are about to change function call syntax to be more like JavaScript. It seems like good stuff, but beware unstable language.<p>[1] <a href="https:&#x2F;&#x2F;reasonml.github.io&#x2F;community&#x2F;roadmap" rel="nofollow">https:&#x2F;&#x2F;reasonml.github.io&#x2F;community&#x2F;roadmap</a>
评论 #15209785 未加载
danpalmerover 7 years ago
Over the last 8 months or so I&#x27;ve found Messenger.com get slower and less stable. Killing browsers or tab processes, or having to refresh the page because it&#x27;s become unresponsive, has become more and more common.<p>This could well be completely unrelated, but it has been one of the driving factors to me moving more to WhatsApp&#x27;s web interface.
评论 #15209790 未加载
评论 #15209732 未加载
评论 #15209781 未加载
评论 #15209795 未加载
评论 #15209751 未加载
microcolonelover 7 years ago
For those wondering, Reason is basically transpiled to very similar OCaml, with some focus on platforms like the web. I think some folks at Facebook might be interested in Reason becoming to them as Java is to Google.
评论 #15209772 未加载
chenglouover 7 years ago
Hello! Reason team member here.<p>With that kind of exposure comes some pretty negative snarks &amp; unrelated criticisms that are hard to counter in a post&#x2F;tweet. I&#x27;ve left a few replies on this thread but I&#x27;ll still try my best to answer the questions here =) (but before that, please do give <a href="https:&#x2F;&#x2F;reasonml.github.io&#x2F;guide&#x2F;what-and-why" rel="nofollow">https:&#x2F;&#x2F;reasonml.github.io&#x2F;guide&#x2F;what-and-why</a> a look).
评论 #15210958 未加载
评论 #15210293 未加载
评论 #15211691 未加载
userbinatorover 7 years ago
I can offer a contrary datapoint: As someone who has never used this language before, so has never seen its error messages either before nor after, it took me far longer to parse and understand the &quot;after&quot; error message than the &quot;before&quot;; I immediately saw <i>is not compatible</i> and understood, while the more verbose message doesn&#x27;t have anywhere near the same clarity --- &quot;But somewhere wanted&quot; made me do a reparse, and I&#x27;m still not completely sure what it&#x27;s trying to say, or what &quot;somewhere&quot; is. Even the &quot;before&quot; is unnecessarily verbose to me --- I&#x27;d prefer something more like this:<p><pre><code> Error:%s:%d:%d-%d: incompatible type: expected %s, found %s </code></pre> <i>Display the error-ing line(s), right inside the terminal.</i><p><i>Seeing that you&#x27;d usually focus on a single error rather than trying to get an overview of all errors</i><p>IMHO these are not good changes --- chances are that many errors have a common cause which may be far away, and fixing that will make them all disappear. This encourages &quot;code tunnel-vision&quot;, making small patches to &quot;fix&quot; each error (&quot;the compiler says the error is here, so I must try to fix it here somehow&quot;), which in the long term can cause massive duplication and decrease the overall quality.<p>Then again, I don&#x27;t use JS so maybe the culture is very different, but the &quot;gradual increase of verboseness&quot; seems to be a common trend among other languages, that I strongly disagree with. Writing in six words (&quot;We&#x27;ve found a bug for you!&quot;) what could be expressed in one (&quot;Error&quot;) does not help anyone except possibly the most noobish of programmers, which one should hope to learn and thereby advance from their level anyway; unless you treat your developers as incapable of learning and disposable, it is counterproductive --- or perhaps I should say un-Reason-able(!) --- to optimise for the extreme beginner at the expense of the experienced.<p>&#x2F;rant
评论 #15210085 未加载
rtpgover 7 years ago
I&#x27;ve been using messenger.com to great effect for the past couple of months. I can justify completely blocking facebook.com most of the time while still being able to talk to people<p>Highly recommend
评论 #15209864 未加载
mykeliuover 7 years ago
It&#x27;s great that Messenger is being worked on. I wish they&#x27;d also work on improving the UI instead of spending time tacking on half-baked features, but that&#x27;s probably a discussion for another time and place.<p>I <i>have</i> noticed fairly recently that searching chat histories is much faster and more reliable than it used to be, so that&#x27;s a plus.
jakebasileover 7 years ago
I&#x27;m a heavy Messenger user. Love the service. I mostly use it on my iPhone and iPad and those apps work well (I wish they had SiriKit integration...). I use the web interface when I have to, but I would really prefer a full native client for macOS as their web client routinely stops getting notifications and cannot make voice calls in Safari. The Windows 10 client is also painfully underdeveloped but at least it&#x27;s not bound up in a browser tab.<p>On topic, ML is a neat language family but I just couldn&#x27;t get into it when I tried F# back in the day. I&#x27;m a Clojure fanatic through and through but the more projects using functional languages the better, even if it does use static types!
评论 #15210520 未加载
评论 #15210533 未加载
tybitover 7 years ago
Are there any plans for polishing the backend experience?<p>The progress for front end looks very promising, however as someone that likes the look of Reason but isn&#x27;t interested in front end I found getting into Reason with the native toolchain was no easier than OCaml.
acidandyover 7 years ago
Great to read such quick and informed replies by chenglou and spicyj from the team.
jypepinover 7 years ago
wow first time I hear about reason. So would that imply facebook would end up ditching Flow for reason instead? Cause reason is basically a replacement for JS+Flow right? Am I understanding this correctly?
EGregover 7 years ago
Can someone give an overview of what Reason accomplishes and why people would use it? The github page doesn&#x27;t do much in the way of that.
评论 #15210843 未加载
sid-kapover 7 years ago
Since I upgraded my google-chrome-stable version on my Linux machine to 60.0.3112.78, I&#x27;ve been getting a &quot;Could not display composer&quot; error where the composer should be on Messenger.com. If someone on the Messenger team sees this, could you please look into this issue? (I submitted this issue through feedback but didn&#x27;t hear back from anyone.)
评论 #15210373 未加载
评论 #15210294 未加载
AceJohnny2over 7 years ago
Is this representative of Facebook&#x27;s language direction? Away from (their flavor of) PHP and towards OCaml&#x2F;Reason?
评论 #15209709 未加载
mijoharasover 7 years ago
Messenger.com is really buggy, I&#x27;ve had a `Could not display composer` error message for months every time I open the page, so I can&#x27;t type anything into it. (just double checked and it still exists). Unfortunately, seeing how slowly facebook responds to bug reports I haven&#x27;t even bothered.
polskibusover 7 years ago
I wonder what would be the quality improvement if they switched to Typescript and TSX instead of Ocaml&#x2F;Reason?
k__over 7 years ago
I don&#x27;t understand. This is just a landing page for the app and not an alternative web interface
评论 #15211810 未加载
marczellmover 7 years ago
I would really like to know about what tech stack the Windows 10 apps use.
评论 #15220516 未加载
rocky1138over 7 years ago
Is this a good thing?
评论 #15212695 未加载
systemsover 7 years ago
does messenger on the web and mobile, use the same code base, or are they completely separate?
评论 #15210367 未加载
stuaxoover 7 years ago
Oh great, more JS frameworks.
nkkollawover 7 years ago
For a moment I got really scared that this was a new framework that everyone was going to [have to] migrate to.
评论 #15209839 未加载