AstonJ

AstonJ

Cool things you've seen in other languages/frameworks

Inspired by @dogweather’s thread about Active Record Doctor, have you seen any impressive or cool things in other non-BEAM languages or frameworks? If so please share!

When taking part please note…

  • This is not a “I’d like to see X in Elixir or Phoenix" type thread.
  • It is not even a thread about things that may or may not be a good fit for functional programming.
  • It is just a thread to share cool things you’ve seen in other languages or frameworks :icon_biggrin:

Why?

Who knows, it might spark someone’s imagination to do something cool in Elixir themselves :003:

Please do not use this thread to criticise other languages or frameworks - let’s keep it focused on the positives.

Most Liked

dogweather

dogweather

Rust has a relational db library that connects to the db while you’re coding and uses the metadata to verify your code at compile-time.

https://github.com/launchbadge/sqlx

13
Post #3
matt-savvy

matt-savvy

Elm’s time traveling debugger.

Step backwards or forwards through the state of your program.

12
Post #8
TwistingTwists

TwistingTwists

Perfect spot to come to get nerd sniped.

Watching this space :laughing:

Last Post!

sodapopcan

sodapopcan

This is an interesting one. As @Schultzer said, Ash can do this though of course if you don’t want to use Ash that’s a no-go.

I’m piping up as I was told by a colleague who was ElixirConf that one of the speakers who uses Ash gave this as an example of something to watch out for, ie, that you have to read through the auto-generated migration and not just trust it. This seems like a no-brainer but of course as I’ve been learning Ash I’ve been Just Trusting It :grin:

Before Ash, while I never enjoyed creating my own migrations, I never thought of it as a monumental task. If you have a decent mastery of your editor (or I guess use “AI” these days) then creating the migration isn’t such a huge deal and forces you to look over it.

I’m also so curious since this is a thing that exists in several web-frameworks and yet Rails has yet to add it (or have they at this point?).

Where Next?

Popular in Discussions Top

AstonJ
If a newbie asked you about Phoenix Contexts, how would you explain the basics to them? Feel free to be as concise or in-depth as you li...
New
ben-pr-p
In general I’ve been sticking to this community style guide GitHub - christopheradams/elixir_style_guide: A community driven style guide ...
New
AstonJ
I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ec...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

Other popular topics Top

lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31494 112
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40042 209
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement