Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
Hey there,
It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Quite interesting article Google brought me. Didn’t find any mentions about it here.
What do you think in general? Would you use togethe...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Since we have deprecated our Erlang sections (as we have dedicated Erlang Forums now) let’s add this thread for those who’d like to post ...
New
:warning: Security advisory: Decimal DoS vulnerability
A vulnerability has been published for decimal where very large exponents can cau...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security











Showing Posts 21 to 12- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
al2o3cr
I believe some of that work was included in the 1.11 release - elixir/CHANGELOG.md at v1.11 · elixir-lang/elixir · GitHub
tanweerdev
so next question: is there any plan to merge boundary(or modified version of it) into core Elixir? That would be nice
josevalim
As mentioned in the proposal discussion, we favored option A and Boundary provides a more complete implementation - so I would advise to use that. We have no plans to introduce
defmodulepin core. You can see the proposal discussion for my rationale.Exadra37
I know is archived, sorry to have mislead you about my intentions in my question. I don’t want to use it directly, but instead my question intention was when could we expect it in Elixir itself.
I though the repo for
defmodulepwas a playground for this proposal by Jose, but I noticed now that unfortunately it seems the preference goes to option A.Any idea when Option A will be available in Elixir core?
I am not planning in developing a new library at all, and I already know about Boundary, but I was really expecting to have private modules in Elixir. I would prefer this to be built-in in the language then enforced by a dependency.
axelson
I don’t think
defmodulepwas ever on a track to be generally available/used, it was created more as a proof of concept. And now that the repository is archived it will no longer be developed (although of course if it Apache v2.0 so you can fork and maintain it if you want).But I think that Boundary - enforcing boundaries in Elixir projects is a more promising alternative so I’d recommend you take a look at that instead or develop a new library.
Exadra37
Any idea when
defmodulepwill be available?Exadra37
I just found defmodulep… Seems to me like the playground for the idea, or its the official implementation?
gregvaughn
Since erlang requires a declaration of which functions are exported, yeah, I think the idea was considered. I have mixed feeling on the result, but I don’t question its consideration. In any case this is a majorly backwards incompatible change that would require a very strong argument to support it.
jeramyRR
I haven’t read through all the threads on this topic but has the community thought about going the route Rust took, where every function is private by default? To make something public you have to declare it public like:
This way we don’t have to worry about private modules or whatever.
gregvaughn
I think the bikeshed should be painted green, for what its worth