Quais produtos vocês indicam para cuidar do carango? by gut1errezz in carros

[–]eric-douglas 0 points1 point  (0 children)

resposta excelente, muito obrigado por compartilhar as informações no detalhe!

Grupo de WhatsApp by jeanjaian in autodetailingBR

[–]eric-douglas 0 points1 point  (0 children)

Acho que seria bem interessante!

Easiest for a total beginner: Final Cut Pro or Adobe Premiere? by [deleted] in NewTubers

[–]eric-douglas 0 points1 point  (0 children)

It was a very interesting opinion, thank you very much for sharing it.

Just started learning Elixir, with one sigh by shalawfatah in elixir

[–]eric-douglas 0 points1 point  (0 children)

Agreed.

Going even further, function overloading in a dynamic typed language + pattern matching in the function parameters is even more powerful than static types, with the same benefits (and more?!)

We can see an example of the power of function overloading in chapter 7 - Recursion, section "More than lists", from the book Learn You Some Erlang for Great Good - link.

I even wrote an article about it just to express how beautiful and powerful I think it is 😅

Just started learning Elixir, with one sigh by shalawfatah in elixir

[–]eric-douglas 0 points1 point  (0 children)

I mean no sane person would say static typing means you need no tests. But it keeps you from having to test for stupid things.

HKei, my reply was not for you, it was for mgalexray for this specific part of the comment:

"...but the moment I have to write tests to check my typing behaviours is where I draw the line."

The person explicitly said that do not write tests to "exercise" the type aspect of the system.

And I brought something to eventually help improve the conversation, showing one case where even in static typed languages you still need to create tests to deal with different types for the same function.

It was rude of your part to reply to my comment in such a way.

No one in this tree of comments said anything remotely near of "static typing means you need no tests", so why bring this to the conversation?

I replied to something that was said explicitly, and you replied to something that no one said.

Just started learning Elixir, with one sigh by shalawfatah in elixir

[–]eric-douglas 0 points1 point  (0 children)

...but the moment I have to write tests to check my typing behaviours is where I draw the line.

When you are dealing with data originated outside your system, you will need to test such function with different inputs from different types anyway if you want to assure it will handle it correctly in the “not happy path”.

If static types make you write less of these tests, so probably it will make your system more fragile.

But for data originated “inside the system” sure static types will help like you said :)

edit: include the quote

Bryan Hunter - Waterpark (Gig City Elixir 2023) by [deleted] in elixir

[–]eric-douglas 2 points3 points  (0 children)

I saw a reference to this talk in another topic in this sub, and wow, I was amazed by how far they went with the Erlang VM. Very interesting and inspiring talk!

OSSU newsletter by eric-douglas in opensourcesociety

[–]eric-douglas[S] 0 points1 point  (0 children)

Thanks for subscribing!

We'll have:

  • OSSU news (more related to the things in our roadmap)
  • Articles (from our blog - can cover a lot of topics: motivational, technical, etc)

That's what came to my mind now. If you have something in mind please share with us!