TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why Elixir Is the Best Language for Building a Bootstrapped, B2B SaaS in 2024

143 点作者 s3cur3超过 1 年前

12 条评论

bnchrch超过 1 年前
Disclaimer: Elixir is extremely productive, Phoenix is outstanding, the community is world-class, and as a result of the Erlang VM &#x2F; OTP &#x2F; Beam you can remove whole parts of your traditional webstack. If you haven&#x27;t tried it I cannot recommend it enough.<p>But!<p>As a long-time Elixir Developer who has gladly used it to bootstrap many applications and companies, I have to say I think this article is actively harmful to the community.<p>It&#x27;s an extremely thinly veiled sales pitch for their &quot;Petal Pro&quot; paid boilerplate.<p>At the same time, it does nothing to address the tradeoffs of certain features like Live View. Which for the record is a poor fit if your app suffers from client-side latency or requires any kind of offline-enabled features.
评论 #39310096 未加载
评论 #39310480 未加载
评论 #39310353 未加载
评论 #39310659 未加载
评论 #39309862 未加载
hansonkd超过 1 年前
I love Elixir, but I have to disagree with the principal aspect of this post.<p>As an engineering leader what I look for when picking tooling for SaaS which essentially boils down to two things:<p><pre><code> 1) How expensive and difficult will it be to scale the Org. 2) How difficult will it be to implement product features. </code></pre> I attempted an Elixir startup and found that it failed at both. The language was lovely to use and very smart.<p>But at the end of the day, you spend time and money reinventing solutions already solved in other frameworks which distract from the features of your product. Elixirs libraries are growing, but they have not reached parity to near drop-in solutions found in Django for instance.<p>Is Django the fastest in code execution? No. Is it the most elegant? No.<p>But there is an outstanding catalog of existing solutions and libraries out there that a junior engineer can pull from.<p>Developer velocity is so much faster with a well established framework. Easy to hire for. And you spend time implementing product features instead of reinventing engineering solutions. My ideal product development workflow is to implement in Django, find the bottlenecks (if any) and then specialize those flows.<p>Elixir is great and beautiful, but it was much more difficult to find engineers with experience in it. I really only found engineers that had a curiosity to use it or just started using it. I was never able to find an engineer that I could hire who built and scaled a Unicorn level app with it. Something quite common to find with Django.<p>I&#x27;m not saying to use Django. But when starting a project, I just ask that people look at how hard it will be to find someone to help you in the future and decide if you want to spend time building product value or spend time writing beautiful code.
评论 #39310166 未加载
评论 #39310061 未加载
评论 #39310287 未加载
评论 #39309960 未加载
dbbk超过 1 年前
My current company uses Elixir so I&#x27;ve had to pick it up, and while I get the idea, man the compile times are just awful. Our full app takes a good 15 minutes to build locally. And I don&#x27;t know why, but I&#x27;ve had so many times where the incremental build has become corrupt and it needs to rebuild everything.<p>Coming from a PHP and Node background, I definitely miss the speed of development.
评论 #39323073 未加载
stanmancan超过 1 年前
I moved from PHP&#x2F;Laravel to Elixir&#x2F;Phoenix about two years ago and I can&#x27;t imagine using anything else these days.
评论 #39309451 未加载
评论 #39309603 未加载
评论 #39309720 未加载
karmajunkie超过 1 年前
i have to be honest: as a lover of the language, and with due respect to the author, i’m really tired of these “why i picked elixir” takes extolling the same virtues (or some subset thereof) we’ve seen written up in darn near every introductory article on elixir for the last five or six years.<p>it’s not that i think they’re wrong, at all. it’s just that they add nothing new to the conversation, they’re superficial, and frequently don’t go on to give a reader any idea of how the decision worked out.<p>here, i’ll start: i rewrote my startups platform in elixir about six years ago and it was a terrible business decision. not because elixir was bad —to the contrary, it was fantastic —but because the year and a half i spent reproducing functionality could have been spent adding new features that would have translated to new customers, and that would have translated to an additional million dollars when we eventually sold our bootstrapped business (obviously if i’m quibbling about a million bucks im not talking about a venture backed business here.)<p>in terms of scratching my intellectual itch it was great, but i can’t defend it from a business perspective and whenever somebody brings up the notion of rewriting a core platform i tell this story.<p>now can someone please write some elixir articles about cool stuff they did with it and get <i>those</i> on the front page?
评论 #39309830 未加载
评论 #39311734 未加载
评论 #39309810 未加载
评论 #39311692 未加载
评论 #39309524 未加载
评论 #39309881 未加载
评论 #39309886 未加载
评论 #39309508 未加载
评论 #39311995 未加载
评论 #39309490 未加载
评论 #39310120 未加载
评论 #39310926 未加载
评论 #39310247 未加载
评论 #39310172 未加载
评论 #39310995 未加载
评论 #39310566 未加载
评论 #39309580 未加载
评论 #39309533 未加载
tschellenbach超过 1 年前
Django and Rails are by far the best for small projects. It&#x27;s not close.
评论 #39311726 未加载
3dpancake超过 1 年前
I am really missing out on the Elixir hype. And Phoenix has liveview, so the htmx hype gets multiplied with the Elixir hype?<p>This article provides a huge list of things you have to know for web dev. Certainly not all of them a required. And of the ones you will have to know to accomplish your task, you&#x27;ll still have to learn the Elixir flavor of it.<p>My current job is rewriting what is basically a crud elixir app in python for a company. I&#x27;m not completely sure their reasons wanting it re-written, but they&#x27;re spending money to do it, so they must have some justification. I have heard them mention difficulty in finding people to work on their existing codebase. A lot of companies they just want fungible (and cheap) programmers (like me).<p>I&#x27;ve really only bothered to learn enough elixir to reverse engineer the existing app for reference. I have no idea what good elixir looks like, and it could be that this is just bad elixir. Completely subjective, but it&#x27;s not easy to follow. I had to work through some code where a bunch of functions were piped together, but all these functions were defined multiple times with different args (pattern matching on arguments). It seems like a strange way to do flow control within a pipeline, because the logic seems to really be spread around.<p>Maybe I have to sit down and write something from scratch to appreciate it.
评论 #39310674 未加载
Zababa超过 1 年前
Is it worth it to learn Elixir (including Phoenix, and I would guess some Postgres) to be able to rapidly build websites? My day job is mostly Go microservices, making anything this way takes a lot of time and doesn&#x27;t really feel worth it for single-person projects.
评论 #39320481 未加载
phendrenad2超过 1 年前
You know, you can get all of this in PHP and jQuery for probably half the effort.
melon_taeppe超过 1 年前
the django admin panel alone makes it a better framework for a bootstrapped app
评论 #39313217 未加载
评论 #39311921 未加载
voidfunc超过 1 年前
Meh, if you&#x27;re not building your b2b SaaS company on one of the big names (python, Java, ruby, go, javascript) in 2024 you&#x27;re just deeply unserious about running a company. The language is the last of your problems.
评论 #39313506 未加载
评论 #39310620 未加载
firemelt超过 1 年前
i still dont get it why people say elixir&#x2F;phoenix is better than rails<p>people said that since phoenix incarnation I mean we still got to so everything on phoenix meanwhile on rails we have gem for everything