aristotelesbr

@aristotelesbr@ruby.social
55 Followers
87 Following
240 Posts
Desenvolvedor, filósofo do ruby, apaixonado pelo cosmos, resolvo problemas e faço coisas rodarem na web. Canhoto após adulto. 👾
Abouthttps://aristotelescoutinho.com.br
O que é considerado "natural" para muitos, pra mim exige esforço extra e se tem algo que aprendi é que a verdade incomoda quando não segue o roteiro social. Às vezes só queria um manual para: "não faça isso", mas aí eu lembro que tem gente que me ama justamente por ser assim. 😅🥲🤣
Você não é maior porque tem mais, só tá mais longe de lembrar de onde veio.
Python is the biggest frontend for C that exists?

TIL: You can pass modifies to generators using curly braces. For example, create a decimal column with precision and scale 🤩

#ruby #rubyonrails

Here are two elegant approaches to extract values: one assigning at match time and another using pattern matching from Ruby version 3.2. Tks Nobu and Jerimy Evans. 🚀 #Ruby #Coding #PatternMatching
Starting from version 3.2, pattern matching in #Ruby has been refined. For the example I shared, the correct match is for 3 elements, not 4, using the MatchData#deconstruct method. Thus, I don't consider this approach valid. 🧶
why is it not possible to define methods as "|>" in #Ruby ? 😶

Unleash the power of pattern matching. 😎

#Ruby #tips #coding

[en] How to prevent direct access to internal components and make contracts clearer and more explicit. 🤯

[pt-BR] Como prevenir acesso direto a componentes internos e tornar contratos mais claro e explícitos. 🤯

#Ruby #codinglife #coding #RubyTips

GitHub - aristotelesbr/lsd: A modern alternative to the ls command inspired by Nushell's output, written in Ruby.

A modern alternative to the ls command inspired by Nushell's output, written in Ruby. - aristotelesbr/lsd

GitHub