Soumya Mahunt
Jun 2, 2023

--

While being powerful, there are scenarios where it makes sense to use protocols and generics, mainly to avoid long switch cases and in cases where switch statement is used only inside the enum not outside.

--

--

Soumya Mahunt
Soumya Mahunt

Written by Soumya Mahunt

Senior Software Engineer at MoEngage | System architecture enthusiast | Ex Tataneu

No responses yet