📜 ⬆️ ⬇️

ITX5 mitap: live JAVA, Kotlin magic and tomato tinder

Inside # ITX5, which now has nearly 1,500 people , interesting events are often held, and in July we first decided to open up to the world and organize meetings for all JAVA fans. We talked about the beauty of the code, the new computing paradigms and Kotlin magic. Spoiler: within five years he will defeat everyone, but that’s not certain. Real JAVA cases were shared by Alexander Krasnoshchekov from # ITX5 , Vitaliy Kutsenko from Otus , Dmitry Latyshev from Leroy Merlin , Pavel Finkelstein from Lamoda .



Alexander Krasnoshchekov (ITX5) “Sometimes they try to bite abstractions”


The meeting was opened by the technical leader of the X5-Transport project. He told how to make a tinder for tomatoes and trucks and how many abstractions are needed to plan a car on a flight. Lot! The speaker demonstrated in detail how the transport request overcomes the difficult path from a one-touch user request to the processor, honestly noted pain points and treatment methods. For those who are working on MVP, there are a lot of useful tips in this short talk.


Presentation
')

Vitaliy Kutsenko (Otus) Optional: the charm of laconicism


The coffee machine, which for some reason refuses to give the coveted drink to the customer, is an excellent example to demonstrate how Optional works in different versions of JAVA, Vitaliy Kutsenko proved with his speech. The developer himself admits that more and more falls under the charm of Optional, which is a synonym for conciseness and allows you to save time and code. Especially if the development team is not you alone, but a team distributed throughout the world.

By the way, Vitaliy Kutsenko has an answer to the question of what to do with juniors and seniors who do not want to write Optional, but prefer If not now. And also advice to those who want to wrap everything in Optional.


Presentation

Dmitry Latyshev (Leroy Merlin) Do you like Kafka?


Leroy Merlin is very fond of microservices - now there are already over 200, or 300 (the encoders themselves are tired of counting) - they all need to communicate with each other and “negotiate” with a large number of corsystems, for example, financial or cash, which do not have the friendliest PI . That's why in Leroy Merlin both streams and Kafka fell in love.

Dmitry Latyshev compared stream and batch processing, cited three arguments in favor of a new computing paradigm, and invited the audience to play in the sandbox. In a few minutes, the mitap participants built an e-commerce project with millions of transactions per day, learned how to use them to identify suspicious transactions and make promotional offers to regular customers. To do this, streams are either branched, sometimes combined, or worked with pure functions without context. And you try it! And find out where to get knowledge about Kafka streams!


Presentation

Pavel Finkelstein (Lamoda) Magic and Cons of Kotlin


The disadvantages of Kotlin when used in production were described in detail by Pavel Finkelstein. He learned from his experience what difficulties arose when switching to Kotlin in transactions and in testing. How painful it was when it turned out that Kotlin did not know how with recursive generics and how he constantly made programmers think. However, the critical analysis took a little more than half an hour, which, according to the speaker, indicates that Kotlin is a very good language that will capture the whole world for 5 years. However, far from all the participants in the meeting agreed with this statement. And you?


Presentation

We and our guests liked the experience of holding the meeting, so we will soon please you with a new meeting.

Photo album

Source: https://habr.com/ru/post/461333/


All Articles