java

Recursos de programación de java
¿Recuerdas esos días en los que testeabas utilizando JUnit? ¡Qué! ¿Todavía lo usas? ¿Es aburrido, verdad? Seguro que te inventas un montón de excusas para no testear tu código. Por suerte esos días pertenecen ahora al pasado porque Spock está entre nosotros. Spock es un framework de tests basado en Groovy que podemos utilizar para testear aplicaciones Java y Groovy que hace que escribir tests sea divertido otra vez. Podemos escribir tests totalmente expresivos, fáciles de leer y de mantener debido a su DSL y a todo el poder de Groovy. En esta charla tipo live-coding aprenderás por medio de ejemplos los conceptos básicos de Spock y verás qué fácil es testear aplicaciones Java. ¡Te advierto que después de la charla no tendrás ningún excusa para no testear tu código! http://2015.codemotion.es/agenda.html #5677904553836544/48534002
Akka es un modelo de programación reactivo altamente concurrente basado en actores, diseñado para facilitar la creación de sistemas distribuidos. En Java disfruta de mucha fama, y ahora con el port de Akka a la plataforma .NET tenemos disponible toda su potencia en C# y F#. En esta charla daremos un (breve) repaso a qué es la programación con actores, qué aporta Akka.Net (que ya se graduó con su versión 1.0) y también veremos algunos ejemplos prácticos, incluyendo módulos que han sido recientemente portados a .Net (persistencia, por ejemplo, con bases de datos como MongoDB o Cassandra). También veremos lo bien que se integra con web API y signalR en una aplicación web con angularjs. El ecosistema .NET va cambiando! http://2015.codemotion.es/agenda.html #5677904553836544/43864003
Kotlin es una alternativa a Java que mezcla ideas de orientación a objetos y programación funcional, lo que nos ofrece unas posibilidades mucho mayores. En esta charla os hablaré de por qué utilizar Kotlin, cómo empezar a usarlo y qué nos aporta. Veremos la potencia de un lenguaje mucho menos verboso, más legible y que nos ahorrará mucho tiempo en el desarrollo, y cómo usarlo para sacarle el máximo partido
cats is a library of category theory and algebraic abstractions for Clojure and ClojureScript. It borrows many useful abstractions from statically typed languages like Haskell and Scala: Semigroups, Monoids, Functors, Applicatives and Monads are a few examples. It has types for error handling, validation as well as integrations with many asynchronous abstractions found in Clojure(Script) like CSP channels, Java 8's CompletableFuture, JavaScript promises or reactive streams. In this talk we will explore what's available in cats emphasizing the asynchronous types and how we can combine them using monadic and applicative operations.
Laziness, trampolines, monoids and other functional amenities: this is not your father's Java Lambdas are the main feature introduced with Java 8, but the biggest part of Java developers are still not very familiar with the most common functional idioms and patterns. The purpose of this talk is presenting with practical examples concepts like high-order functions, currying, functions composition, persistent data structures, lazy evaluation, recursion, trampolines and monoids showing how to implement them in Java and how thinking functionally can help us to design and develop more readable, reusable, performant, parallelizable and in a word better, code.
Getting a language to compile to JavaScript is relatively easy. What's not so easy is: a) making it efficient and, most importantly, b) interoperating with JavaScript. For the latter, in particular, too many languages fail to provide consistent, easy to use and understand interoperability with JavaScript. Scala.js is an exception to this rule: interoperating with JavaScript blends in the language itself and its semantics, up to the point where, seeing a piece of Scala.js code, you can hardly tell what is Scala.js and what is JavaScript. Basically similar to how Scala interoperates with Java. In this talk, we will explore the semantics of Scala.js, how they differ from those of Scala, and how they are, perhaps unexpectedly, equivalent to those of Scala. During this journey, we will see how they support almost transparent JavaScript interoperability. We will also cover the most important trade-offs that were made to allow the compiler to emit extremely efficient code for production, while retaining easy debugging during development. No previous knowledge of Scala.js, Scala, or JavaScript is required to follow this talk, although shallow knowledge of Scala and/or JavaScript will contribute to fully appreciate some details. Slides here http://lampwww.epfl.ch/ ~doeraene/presentations/scalajs-semantics/#/
The largest Functional programming event in Spain, carefully crafted for you by 47 Degrees and the Scala and Java communities of Malaga and Madrid. Located in Cádiz, one of the most beautiful cities in Spain. Two days of workshops, hands-on experience, hacking, and debugging. Learn to tame your favourite functional languages. More in:www.lambda.world
I continue empting the talks queue... Here is another small batch of interesting talks:Microservices: Software that Fits in Your Head Dan North. IMHO this is the more interesting talk I show this year. No spoilers :)   I agree one hundred per cent with the talk. Just show it.Functional_Data_-_Greg_Young-131636650 Greg Young. A practical example of the Event Sourcing implemented using a functional approach. With this approach the flow seems more easy than the OOP approach.se-r...
Web
11-09-2015
http , java , tdd
Lately I've been working bit by bit in an implementation of the Glowworm Swarm Optimization algorithm (GSO) in Clojure. Some time ago I implemented the GSO algorithm in C++ to practice TDD. I decided to implement it it again in Clojure to practice with something larger that Exercism exercises or katas an yet small and familiar enough to finish it in spare bits of time. This is the code of the resulting Clojure GSO on GitHub. This GSO Clojure version is much shorter than its C++ version. Aside fr...
Sois muchos los que nos hacéis llegar vuestra inquietud preguntándonos cómo aprender a programar. Muchos de vosotros por un motivo u otro estáis ya interesados en programar en un determinado lenguaje, ya sea programar en c, en java, en iOS, en android o en las múltiples tecnologías que hoy disponemos. Otros nos preguntáis cómo empezar […] La entrada 45. Aprender a programar se publicó primero en Programar fácil con Arduino.