stevensonmt

stevensonmt

Project Ideas for novice/mid-level: packages to transpose from Elm to Elixir

I’m looking for a way to improve my skills, give something back to open source, and start to build a bit of a portfolio. I was thinking that an easy way to do that would be translating a library from Elm, which I’m familiar with and enjoy reading, into Elixir, which I’m learning and loving. Are there any libraries you guys know of in Elm that you wish existed in Elixir? I’m probably not up for something as complex as mdgriffith/elm-ui but maybe something a little less complex?

Most Liked

crispinb

crispinb

It seems like a perfectly reasonable idea to me, though I can’t make any helpful suggestions as I’m only tangentially familiar with Elm.

You might also want to cast around for existing Elixir open source projects that might appeal for you to contribute to. Of course you’ve probably thought through that so sorry if the suggestion seems patronising. But I know that in my case, when I’m working on a new platform, my tendency is to scurry away and hone skills in private, even though I know perfectly well from experience that it’s not always the most effective approach. FWIW, I also think contributions to existing projects are just as useful as part of a portfolio as a solo affair.

al2o3cr

al2o3cr

A lot of the libraries I’ve used in Elm were tightly coupled to the language’s particular features - for instance, elm/parser and its use of custom operators, or elm/json’s decoders. Those would be tricky to convert.


There’s also an issue of convention - picking a library randomly, the signature for Markdown.toHtml:

toHtml : List (Attribute msg) -> String -> Html msg

wouldn’t be written options-first because the Elixir convention is “put the subject in first position”:

def to_html(markdown, options)

Final thought: what happens to the translated library when the original gets bug fixes?

stevensonmt

stevensonmt

Thanks for taking the time to reply. I appreciate your insights. Sure some libraries would be difficult for anyone and many would be difficult for me particularly. I don’t think the convention/style differences are insurmountable or even that significant. Both languages being functional with immutable data structures starts things off on a more compatible footing. The static vs dynamic typing is the more significant challenge for me. For the final thought I would say the same thing that happens with any library: You either maintain it and it continues to be useful or you let it wallow and no one uses it, devaluing all the initial work you put into it.

My take away from your post is that this doesn’t seem like a very good way to go about my stated goals. I can appreciate that. I have some other ideas but was just throwing this out there.

Where Next?

Popular in Discussions Top

andre1sk
A big advantage to Elixir is all the distributed goodness but for many applications running on multiple nodes having integrated Etcd, Zoo...
New
blackode
Elixir Upgrading is so Simple in Ubuntu and It worked for me Ubuntu 16.04 git clone https://github.com/elixir-lang/elixir.git cd elixir...
New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31265 143
New
AstonJ
Are there any Elixir or Erlang libraries that help with this? I’ve been thinking how streaming services like twitch have exploded recentl...
New
Crowdhailer
I’ve been hearing much about the new formatter and it’s something I have been keen to try. I find examples buy far the most illuminating...
248 19327 150
New
mbenatti
Following https://github.com/tbrand/which_is_the_fastest |> https://raw.githubusercontent.com/tbrand/which_is_the_fastest/master/imgs...
New
RudManusachi
What configs will make sense to put to runtime.exs? – A bit of how I configure apps: I have generic configs in config/config.exs, dev...
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
Qqwy
Looking at the stacks that existing large companies have used, WhatsApp internally uses Mnesia to store the messages, while Discord uses ...
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

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
hariharasudhan94
lets say i have a sample like a = 20; b = 10; if (a > b) do {:ok, "a"} end if (a < b) do {:ok, b} end if (a == b) do {:ok, "equa...
New
marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
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
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31265 143
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 52673 488
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
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

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement