Skip to Content
Programación funcional con C#
book

Programación funcional con C#

by Simon J. Painter
September 2024
Intermediate to advanced
328 pages
8h 14m
Spanish
O'Reilly Media, Inc.
Content preview from Programación funcional con C#

Capítulo 11. C# Funcional Práctico

Este trabajo se ha traducido utilizando IA. Agradecemos tus opiniones y comentarios: translation-feedback@oreilly.com

No soy sólo una cara bonita.1 Además de pasarme los días trabajando a diario en el tajo virtual de las TI, también he tenido el privilegio de pasar mucho tiempo a lo largo de los años hablando en diversos eventos sobre el tema de la programación funcional con C#. En estas charlas, surgen algunas preguntas con bastante frecuencia.

La más común es "¿Por qué no usamos F#?". Consulta mi respuesta en "¿Qué pasa con F#? ¿Debería aprender F#?" para ver mi respuesta a esa pregunta en concreto. Se plantea en casi todos los actos en los que he intervenido, lo que es una de las razones por las que di una respuesta tan detallada.

Curiosamente, la segunda pregunta más habitual es que expliques las mónadas (cosa que hice en el Capítulo 7). Con suerte, después de haber llegado hasta aquí, ahora tú mismo eres algo así como un experto en eso.

Después de éstas, la siguiente pregunta más común es sobre el rendimiento. Existe la creencia generalizada de que la FP en C# es ineficiente en el código de producción en comparación con la POO. Dedicaré la primera sección de este capítulo a hablar del rendimiento y de si es un tema que debe preocuparte antes de adoptar C# funcional en tu vida cotidiana -o, al menos, en tu vida cotidiana que implique código .NET-. Para mí, hay un solapamiento bastante grande entre esas dos cosas.

C# funcional y rendimiento ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Diseño de software en C

Diseño de software en C

Klaus Iglberger

Publisher Resources

ISBN: 9781098198169