RR 388: RuboCop and Code Linting with Bozhidar Batsov

Ruby Rogues - En podkast av Charles M Wood - Onsdager

Panel: Dave KimuraCharles (Chuck) Max WoodNate Hopkins Special Guest: Dan Mayer In this episode of Ruby Rogues, the panel talks with Bozhidar Batsov who is the VP of Engineering at Toptal, and an Emacs fanatic. The panel and the guest talk about RubCop, Emacs, and Komodo, among other topics! Check out today’s episode for more details.Show Topics:0:00 – Sentry.IO – Advertisement! 1:07 – Chuck lists the panelists and the special guest. 1:37 – Chuck: Why are you famous?1:41 – Guest gives his background. 2:13 – Guest: I am passionate about Emacs.2:55 – Chuck.2:58 – Panel: I have on a few projects. Do you know RUFO? It’s a bit more opinionated than RuboCop.3:25 – Guest: I am familiar with RUFO and their approach is similar to JavaScript called Pretty or something like that.4:45 – Guest:4:49 – Panel: Can you tell us what RuboCop is and why is it important?5:00 – Guest:There are a few main things that RuboCop is:1.) Placement for Ruby minor...2.) Lint tool3.) Automatic checker for all the best practices outlined in the community4.) Formatter for Ruby code – you can feed it ugly code and it will spin out beautiful code7:30 – Panel: What are the origins of the project? Where you interested in the performance and security aspects of it?7:49 – Guest.The guest talks about RuboCop in detail.10:59 – Panel: It’s important to remember that these are just guidelines and they are NOT set in stone. Using single or double quotes. As long as the project is consistent and using decent practices then I am okay with the code. I will disable the...in RuboCop. Today with high-resolution monitors it’s one of those things that are an annoyance to me. It’s just my opinion, though.12:07 – Guest: Why disable it and not...?13:36 – Panel: You could use VS code instead of Emacs! I am just kidding.13:51 – Guest: I hope you are kidding!13:56 – Chuck: I cannot live without this code...14:06 – Guest.14:26 – Panel: I was an early adapter from the beginning and it was hella slow. I tried it from sublime text and I got annoyed so I eventually switched to VS code. Once I got over the brand name, I really like it as my main editor.15:20 – Panel: Maybe it’s more approachable and it’s easier to dip your toes in.15:35 – Guest.16:29 – Panel: I haven’t heard of KOMODO in long time. I remember that was one of the first IDs that I had checked out. I tried that then went to Ruby Mine and then tried Sublime text and then VS.16:57 – Guest: Komodo was a famous editor.17:17 – Panel: I am curious on RuboCop that the adaption is driven by teaching idiomatic Ruby to people new to the language?17:40 – Guest: I don’t think it’s much about the stylistic stuff at this point. I also noticed that the main driver of the group was...Guest goes into great detail about this topic. 22:44 – Guest (continues): RuboCop offers a bunch of different structure.24:27 – Guest (continues): We are wondering how to approach the issue of performance. The performance aspect tended to be trickier than what we had expected....

Visit the podcast's native language site