refactoring

Recursos de programación de refactoring
In this Lambda World 2019 presentation, Harold Carr shows patterns of recursion using Haskell, which makes it easier for beginners to understand recursion schemes by focusing on their operation with lists. Full Presentation Description: Recursion is the fundamental looping mechanism in functional programming. This talk shows patterns of recursion using Haskell. It shows those patterns for list structure only. This makes it easier for beginners to understand recursion schemes by focusing on their operation with lists. We start by writing explicit recursive versions of sum, product, and length of lists, then factor them into fold functions. We proceed in a similar manner with other folds, unfolds, and refolds with many examples of the patterns in operation. We end by mentioning factoring recursion out of data. ------ Follow: -https://www.twitter.com/lambda_world -https://www.twitter.com/47deg -https://twitter.com/haroldcarr Visit: -https://www.47deg.com/events for more details -http://www.lambda.world
Vemos casos de uso prácticos de Merkle Tree, una estructura de datos más que interesante en la que nos apoyamos para implementar P2P Editor en #JavaScript. Desde #Blockchain hasta #Torrent. ???? ???? Enlaces relacionados: ├ ✨ Vídeo Refactoring en JavaScript: Modernizando P2P Editor: https://youtu.be/A1QY4NdRse0 ├ ???? Vídeo ¡Lanzamos #P2P Editor!: https://youtu.be/35bIgJujUKE ├ ???? Demo online: http://p2p-editor.codely.tv ├ ???? Código fuente: https://github.com/CodelyTV/p2p-editor ├ ???? Issues para contribuir al proyecto: https://github.com/CodelyTV/p2p-editor/issues?q=is %3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22good+first+issue%22 ├ ???? https://merkletree.dev └ ???? https://github.com/CodelyTV/MerkleTree.dev {▶️} CodelyTV ├ ???? Suscríbete: https://youtube.com/c/CodelyTV?sub_confirmation=1 ├ ???? Instagram: https://instagram.com/CodelyTV/ ├ ℹ️ LinkedIn: https://linkedin.com/company/codelytv/ ├ ???? Facebook: https://facebook.com/CodelyTV/ ├ ???? Twitter CodelyTV: https://twitter.com/CodelyTV ├ ????????‍???? Twitter Dani: https://twitter.com/dsantaka ├ ???????? Twitter Javi: https://twitter.com/JavierCane └ ???? Catálogo cursos: https://bit.ly/cursos-codely
La prueba de concepto del #P2Peditor que hicimos en el anterior vídeo funciona ????. Ahora toca darle una capa de chapa y pintura incluyendo algunas herramientas del ecosistema #JavaScript moderno como #Webpack, #Babel, #eslint, módulos de #EcmaScript y alguna cosilla más ???? ???? Enlaces relacionados: ├ ???? Vídeo ¡Lanzamos #P2P Editor!: https://youtu.be/35bIgJujUKE ├ ???? Demo online: http://p2p-editor.codely.tv ├ ???? Código fuente: https://github.com/CodelyTV/p2p-editor └ ???? Issues para contribuir al proyecto: https://github.com/CodelyTV/p2p-editor/issues?q=is %3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22good+first+issue%22 {▶️} CodelyTV ├ ???? Suscríbete: https://youtube.com/c/CodelyTV?sub_confirmation=1 ├ ???? Instagram: https://instagram.com/CodelyTV/ ├ ℹ️ LinkedIn: https://linkedin.com/company/codelytv/ ├ ???? Facebook: https://facebook.com/CodelyTV/ ├ ???? Twitter CodelyTV: https://twitter.com/CodelyTV ├ ????????‍???? Twitter Dani: https://twitter.com/dsantaka ├ ???????? Twitter Javi: https://twitter.com/JavierCane └ ???? Catálogo cursos: https://bit.ly/cursos-codely
January- Timeless Laws of Software Development, Jerry Fitzpatrick- Writing to Learn, William Zinsser- The End of the Affair, Graham Greene- Beyond Legacy Code: Nine Practices to Extend the Life (and Value) of Your Software, David Scott BernsteinFebruary- Refactoring Workbook, William C. Wake- Binti, Nnedi OkoraforMarch- Home, Nnedi Okorafor- The Night Masquerade, Nnedi Okorafor - Developer Hegemony, Erik Dietrich- The Ministry of Utmost Happiness, Arundhati RoyApril- Cat on a Hot Tin Roof, Tenne...
- Siempre que alguien se pone a refactorizar, no puede darlo por terminado hasta que ha refactorizado todas las capas a las que afecta. ¿Por qué nos resulta tan difícil hacer refactoring y poder pararlo cuando queramos sin afectar a otras capas? - Siempre que le vamos al jefe con que tenemos que hacer refactoring se pone a temblar, ¿por qué crees que es? - ¿YAGNI y mucho refactoring o un diseño más sesudo haciendo un SW más flexible adelantándose a futuros requisitos que quizá nunca llegen y menos refactoring? ------------- @ggalmazor y @artolamola ------------- Todos los vídeos de la Pamplona Software Crafters 2019 en: https://lk.autentia.com/SCPNA-YouTube ¡Conoce Autentia! Twitter: https://goo.gl/MU5pUQ Instagram: https://lk.autentia.com/instagram LinkedIn: https://goo.gl/2On7Fj/ Facebook: https://goo.gl/o8HrWX
Si quieres ver la charla de Fernando Cejas: https://youtu.be/yFLCg-0zxT8 - ¿Alguna recomendación sobre cuándo remangarse o no a hacer un refactoring? - ¿Cuál es tu técnica o procedimiento favorito para mantener el código lo mejor posible? ------------- @fernando_cejas ------------- Todos los vídeos de la Pamplona Software Crafters 2019 en: https://lk.autentia.com/SCPNA-YouTube ¡Conoce Autentia! Twitter: https://goo.gl/MU5pUQ Instagram: https://lk.autentia.com/instagram LinkedIn: https://goo.gl/2On7Fj/ Facebook: https://goo.gl/o8HrWX
January- Timeless Laws of Software Development, Jerry Fitzpatrick- Writing to Learn, William Zinsser- The End of the Affair, Graham Greene- Beyond Legacy Code: Nine Practices to Extend the Life (and Value) of Your Software, David Scott BernsteinFebruary- Refactoring Workbook, William C. Wake- Binti, Nnedi OkoraforMarch- Home, Nnedi Okorafor- The Night Masquerade, Nnedi Okorafor - Developer Hegemony, Erik Dietrich- The Ministry of Utmost Happiness, Arundhati RoyApril- Cat on a Hot Tin Roof, Tenne...
Introduction. Recently in the B2B team at LIFULL Connect, we improved the validation of the clicks our API receive using a service that detects whether the clicks were made by a bot or a human being. So we used TDD to add this new validation to the previously existing validation that checked if the click contained all mandatory information. This was the resulting code: and these were its tests: The problem with these tests is that they know too much. They are coupled to many implementation de...
Recently, one of the teams I’m coaching at my current client, asked me to help them with a problem, they were experiencing while using TDD to add and validate new mandatory query string parameters[1]. This is a shortened version (validating fewer parameters than the original code) of the tests they were having problems with: and this is the implementation of the QueryStringBuilder used in this test: which is a builder with a fluid interface that follows to the letter a typical implementation o...
I created the Beverages Prices Refactoring kata for the Deliberate Practice Program I’m running at Lifull Connect offices in Barcelona (previously Trovit). Its goal is to practice refactoring away from a bad usage of inheritance. The code computes the price of the different beverages that are sold in a coffe house. There are some supplements that can be added to those beverages. Each supplement increases the price a bit. Not all combinations of drinks and supplements are possible. Just having a...