N. Sutterer: "Ruby is dead. Long live Ruby!"

Creator of Trailblazer that introduces several new abstraction layers into Rails, Rails contributor and gem author, speaker at Railsclub
15 January 2018   291

Nick Sutterer at RailsClub 2017
Nick Sutterer at RailsClub 2017

Hello! Please, introduce yourself in few words.

My name is Nick Sutterer, I’m developing software for like 22-25 years and I work like a consultant of my open source project for different companies. Sometimes I give presentations at conferences.

Is it your first time in Russia, Moscow, RailsClub?

It is. Everything for a first time. I’m blown away!

How do you like it?

Great! It’s amazing! Since I arrived, people care about me, people take me out, people show me the city, people give me history lessons. It’s amazing. Great food. We go to places and have a drink. I go to hotel, sleep, and everything starts again. That’s amazing! I’m really enjoying it.

Can you tell us about your report in few keynotes?

My talk was about the lack of innovation in Ruby language and about innovations that is happening in frameworks, that use Ruby. I’m just showing what we have. I try to inspire people and Ruby core team to pick some ideas from other technologies and make Ruby even better.

Your talk is called “Ruby is dead”. If Ruby is dead, what’s alive?

Ruby is dead. Long live Ruby. I’m trying to be provocative with my talk. I’m still coding Ruby everyday, I’m still traveling to all conference because I still believe that Ruby is an amazing programming language. There’s languages, showing up recently. Elixir or Golang for example. They have completely different way. They deal with problems and they are way more innovative. But they are brand new. I, actually, don’t think that Ruby is dead.

What you don’t like in Ruby the most?

I hate that we keep thinking in really old way. We reject innovation. It is especially due to frameworks like Rails. I would love to the more development of Rails, with all it’s huge audience. Ruby is lacking a lot of features that a lot of other languages have, like pattern matching and method overloading. The problem is that sometimes I feel that we are behind the innovations that happen to other languages. Specifically features, that make other languages amazing. We don’t have them, and it’s very sad.

What is your way to improve Ruby?

Every time is meet Matz at conference, I tell him for few hours what should be done to improve Ruby. Without any providing any help. It’s all about innovations. I try to innovate in my own framework, Trailblazer. So we can put the way we write business code to new level. I try to inspire people with my library code they use new concepts in Ruby that never been there before. I think that helping them to write the applications.

How do you see the world of programming in 10 and 50 years? And will Ruby and Rails have place in this future?

I don’t think Rails will have place. I really love Rails community and people in Rails Core. But I don’t think that Rails will be a thing in 10 years. But I think Ruby will still be around. It all depends on what is going to happen with Ruby 3.0. When it will be released and what features will it bring. I think Ruby will still be there. But I can’t tell you what will happen in 50 years. Because in 50 years there won’t be a need to program anymore. We will probably just write diagrams on the air.

In your opinion, what technologies are the most hypest today?

Craft beer and coffee, haha! Everything that hipsters do! Now everything is switching from OOP to FP. We are trying to avoid to have unwanted side effects in order to not let users to screw up internal state. Functional programming makes it impossible to users to do stuff in wrong order, for example. Like problems that we have in Ruby. I see a lot of development in functional languages because they are also way easy to paralyze and they have a lot of advanced features.

What advice can you give to average programmer to stand out the crowd?

Important thing in IT is that you always need to play with new tools. Even if you are not a super programmer, you have to look at the community and check what’s going on. It is really important to keep moving. Otherwise, I see that my current job at the police is really slow. They using very outdated technologies. A lot of people are affected. It is non productive. It’s good because a lot of people are keeping their jobs . But it is important to adopt new technologies. I’m not saying be a coding hipster and change your framework everyday. But a lot of new things in last 10 years make sense. People should use it and not just sit there and enjoy excellent job. They can get fired tomorrow.

What makes you excited about your job?

That’s beautiful question. I think that idea of open source is that you expose code that you think is helpful and people will tell you that it really is. This is what keeps me programming. When I write something and I see that a lot of people use it and they say like “It is so much better that I used before!” It’s great! This is making my day. It’s all about what comes back. I also program my own stuff and sometimes I think: “Yes!” But mostly I like when something what I do is helpful to other people.

Do you have any plans on writing a book?

I have already wrote one book. Two years ago, it took like 16 months. I was writing and inventing at the same time. That was a huge mistake! I was keeping updating my book with changes in my library code. It was massive. I plan to write more books, because it was fun. It has to be with the right timing. I’m not gonna write a book about, for example, a new version of my framework now because it’s still changing. I’m not gonna make this mistake again. It’s so much work! Unbelievable.

Do you have any nightmares, related to you job?

I used to have those kind of dreams few years ago. Sometimes I still have them.You always imagine software as something visual. Brain just does that. My dreams about those thing and passing the objects. And it’s always the wrong object! It’s the only nightmare that I have. I was able to have good work\life balance. So I have very rare the bad sleep. Even if I don’t look like it.

P. Solnica: "I'm excited about Truffle Ruby"

Software engineer with over 10 years of experience, Tech Lead at Icelab, speaker at RailsClub
23 November 2017   382

Piotr Solnica at RailsClub 2017
Piotr Solnica at RailsClub 2017

A software engineer with over 10 years of experience, working as Tech Lead at Icelab. Active OSS contributor and maintainer of various projects for over 5 years. Former DataMapper core team member, creator of the popular Virtus gem, lead developer of Ruby Object Mapper project, and dryrb core developer.

On the RailsClub 2017, we've managed to talk with Piotr about his work, dry stack and future of IT.

Please, tell me about yourself. Where do you work? What do you do?

I’m a software developer from Poland. I worked mainly with web apps for last 14 years. I’ve graduated as bachelor in computer science. I’ve studied a bunch of languages and found a job as PHP developer, then I’ve switched to Ruby in 2007. That was my life for almost 11 years. Mostly doing Ruby and worked a little bit with functional languages for few months and now I’m back with Ruby as my main language.

Is it your first time in Russia? How do you like it? How do you like RailsClub?

It’s my first time in Russia. I really like Moscow, it’s really nice city. I like that it’s big. There’s a lot of space. I live in Krakow, so, it has crowded, narrow streets, lots of buildings close to each other. We’ve got nice weather in Moscow! And it’s always raining in Krakow. I really like. People are nice, the conference is awesome. I’m really enjoying it. I also like that people have a lot of questions. I’ve been talking for less than three hours with like 20+ people. That’s really encouraging for me.

Can you give us keynotes from your report?

I’ve talked about the project with which I was working since 2011. I’m basically trying to build a new set of tools to work with databases in Ruby. To shift people to alternative approach, not a typical object-oriented approach, when it comes to working with databases. The talk was about upcoming version 3.0, which is expected to be realized in October. The main thing is to show that this library, despite it is much more advanced than existing solutions, it’s finally as easy to use as this existing solutions.

As far as I understand, your library is designed to replace Active Record. What is main advantage and disadvantage of your product?

The main advantage that it is much more flexible than active record because you don’t have to module your app domain in the same way as your module database tables. You can have different sets of attributes for certain modules and certain modules don’t have to be one-to-one mapping between the tables and their representation in Ruby. This means that when your application growing and you starting to see more and more domain specific concepts you will be able to module them just by using API that we have. It’s also easier to make changes in databases because you have chainset API that we introduced recently. We can use it transfer data from representation that your application receives into a structure that is compatible with your database. We don’t have it in Active Record - concept of data transformation. And, second advantage - it’s kinda lightweight, because the data structures that we load, the objects, that we load, they are smaller than Active Record objects. They take less memory and they are faster. As a result , Rom is faster, it can work with different databases. people are using Rom with data that they pull from YAMA files or csv files or HTTP API and then they combine these data and with what they have in their database, maybe store in their database after some transformation. It’s just much more flexible and support.
Disadvantages are mostly related to the fact that it’s still young project. First few years of my work was mostly experimentation and project started at 2013 and 1.0 version was released in November. That’s not a lot for open source project. 3 years for open source is like 3 months in case for a normal project. As a result, we’re lacking the documentation, which is in big priority right now, our community is much smaller, we use less 3rd party tools and extensions than in case of Active Record. We don’t have 3rd party solutions for stuff like file uploads or authorization.  We are on our own in a lot of common cases. That’s the biggest disadvantage. If you don’t feel like build a plugin for a file upload, it’s not gonna be good fit for you.

How do you see the world of programming in 10 and 50 years and will Ruby and Rails have place in it?

I have no idea, really. That’s hard question. I don’t know. I can't see the future. I think Ruby is doing well. I’m excited about alternative Ruby implementations like Truffle Ruby, which is getting more and more attention. I’m also looking forward to Ruby 3. I think it’s gonna be easier to predict the future once Ruby 3 is realized. But I think that we have a strong community. Language is not everything, ecosystem built around language is also important. And I think we have very strong community which is evolving very fast these days. We see more and more new projects. It’s doing well. There are other languages, such as Elixir, which is getting a lot of attention these days. But it’s a young language with very young ecosystem so it’s gonna take a while for younger languages to get where we are already in terms of our experience and our knowledge and how we work together. I think Ruby is doing fine and it’s gonna be quite good for next few years.

In your opinion, what is the hypest technology in programming these days?

I don’t know. To be honest, I’m not really following hype. It’s to distracting. I would like to check out everything. But I think Elixir is a big hype. In a good way.

What advice can you give to “average programmer” to stand out the crowd?

Write and read a lot of code. That’s my advice for many years. I think people spend too much time discussing code and reading books instead of sitting together and coding. You can learn a lot from just this and discussing it afterwards. The more write and read - the better you become. For me, the fact that i’ve started contributing to open source helped me to learn so much. I’m sure that I’ve spend 10 times more if I was just relying on my job. So, contributing to open source is also a great way to learn not just how to write code, but also - how to work with people. You learn how to communicate, you meet a lot of different people, you work how to work in team, it helps you a lot. These two things are very important.

What makes you excited about your daily work?

I really enjoy using things that I’ve written. It’s because it motivates me to continue working on them and improving them and it’s such a joy for me to build them and use in a project as a tool. I also really like just working with people. I hate to be lone wolf, just writing stuff that nobody will see. Writing stuff that other people can use gives me a lot of joy and fun.

Do you have any plans to write a book?

I have a plan to write a book about my project - rom rb. This will be not too detailed book. It will explain rom rb in very basic way. Short introduction without going too much in the details because it’s big project. I don’t have time to write a big book and I want people to be able to quickly learn the basics and understand how it works. The cool part is it is possible to understand how rom works. It’s good to understand how tools that you use works.

Do you have nightmares related to your job?

I don’t remember any nightmares related to my work. I’m a happy man!