🙋♂️ Un jueves más en el canal de Apiumhub, Diego y Rafa nos enseñan los desafíos y soluciones relacionados con la validación de objetos, clases con polimorfismo y otras diferencias notables que hemos encontrado al trabajar con C Sharp, especialmente en comparación con Kotlin..
✍🏻 Descubre cómo enfrentar la ausencia de ciertas funcionalidades directas en C Sharp, y cómo Microsoft nos ofrece soluciones que, aunque útiles, podrían integrarse de manera más natural en el lenguaje. Exploramos ejemplos prácticos y patrones en el código para abordar estos desafíos.
🙌 Si te interesa aprender programación en C Sharp, o saber más sobre nuestra experiencia con este lenguaje, y las soluciones que hemos ido encontrando, ¡suscríbete al canal de YouTube de Apiumhub para no perderte ni un detalle!
Docs referenciados en el vídeo:
Typesafe Enum 📑https://www.javacamp.org/designPattern/enum.html
Use enumeration classes instead of enum types 📑https://learn.microsoft.com/en-us/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/enumeration-classes-over-enum-types
--
Apiumhub is a software development hub that solves complex problems with high-quality solutions. Our purpose is to build scalable software to help our clients strengthen their businesses with powerful technology. Large and well-known companies have trusted us including Inditex, Mango, Bitpanda, Nestle, Axa, Tous, Adidas and more.
Our services include web development, mobile app development, devops, quality assurance and software architecture. In addition to offering these services, we have a learning platform called ApiumAcademy where we offer customized courses.
We have two digital products. VYou, a user management and access management solution and Koople, a Feature Flags tool. Both developed by developers for developers.
Every year, we host the Global Software Architecture Summit (GSAS). An event that brings together hundreds of software architecture experts interested in learning, sharing, and connecting. Successful industry professionals such as Mark Richards, Neal Fords & Carola Lilienthal have attended our event as speakers.
--
Visit our site:
https://apiumhub.com/
Learn more about our ApiumAcademy courses:
https://apiumacademy.com/
Attend our event, Global Software Architecture Summit:
https://gsas.io/
VYou, our digital product:
https://vyou-app.com/en/
Koople, our Feature Flags tool:
https://www.koople.io/
--
Social:
https://twitter.com/Apium_hub https://www.linkedin.com/apium_hub https://www.instagram.com/apiumhub/
--
00:00 Introducción
01:50 Enums en C#
08:24 Patrón type safe enum
10:43 Solución propuesta por Microsoft
16:25 Enums en Kotlin
20:25 TypeSafe enum en c#
31:43 Conclusión