Тёмный

protoss: evil and powerful protocols 

E-xyza
Подписаться 956
Просмотров 469
50% 1

This video is a release announcement for protoss, which is a library designed to make your Elixir Protocols easier to read, understand, and debug.
hexdocs.pm/protoss/Protoss.html

Опубликовано:

 

6 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@elixirfun
@elixirfun 23 дня назад
Beautiful, thanks for the lib!
@nickross4059
@nickross4059 21 день назад
Alright! I dig it. So visually and ergonomically it's more akin to how one would implements in Java
@NicholasFunnell
@NicholasFunnell 21 день назад
Here for the starcraft references :-D
@bradhanks7837
@bradhanks7837 23 дня назад
When I first saw my subscription notification, I thought this was going to be a Starcraft review. :)
@BrettBeatty
@BrettBeatty 6 дней назад
I enjoy trying to extend Elixir in interesting ways, and I love me a good StarCraft reference (I've named throwaway mix projects things like Zergling, SCV, and Firebat), but I can't help but think you're looking for behaviours instead of protocols. You implement their callbacks directly in modules implementing the behaviour, and there are no hidden modules being created behind the scenes. You do lose the automatic dispatch provided by protocol consolidation, but your behaviour module can do whatever it wants in its functions before calling implementations of its callbacks.
@isaacyonemoto
@isaacyonemoto 6 дней назад
Protocols are behaviours!
@elixirfun
@elixirfun 23 дня назад
I often wonder how reliable libraries that plug so deeply into the "basics" are, though, and whether I'm not going to face some hard-to-figure side effects.
@isaacyonemoto
@isaacyonemoto 23 дня назад
No side effects in this one! It's just protocols with a tiny bit of added code (the use statement only applies to its lexical scope)
Далее
You CAN do error payloads in zig
12:26
Просмотров 1,2 тыс.
Vite and Module Federation Makes Micro-Frontends EASY!
27:36
Fast and Furious: New Zealand 🚗
00:29
Просмотров 37 млн
Master Golang with Interfaces
21:54
Просмотров 10 тыс.
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 812 тыс.
Protocols vs ABCs in Python - When to Use Which One?
15:31
Zig FFI for great Justice
38:56
Просмотров 1,1 тыс.
Diffie-Hellman Key Exchange: How to Share a Secret
9:09
The Tragedy of systemd
47:18
Просмотров 1,1 млн
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Debugging 101: Replace print() with icecream ic()
12:36