Why You Don’t Trust Your Linter • Jeroen Engels • GOTO 2022

This presentation was recorded at GOTO Copenhagen 2022. #GOTOcon #GOTOcph Jeroen Engels - Author of Elm-review RESOURCES ABSTRACT A linter is a very useful tool that developers use to find problems in their code and make sure it works correctly. But contrary to compiler errors which are followed to the letter, developers often ignore the errors reported by the linter even though both have the same goal: make sure your code works well. Developers don’t actually trust their linter, and a substantial number of developers even stop using them altogether because of that. In this talk, we’ll explore the underlying reasons and how to solve them. We’ll look at the problem from the design aspect of the tool, as well as from the users’ side. We’ll talk about: • Why do developers often ignore what the linter reports? • How to communicate errors well? • Why does the linter report false positives, and how to improve them? • How does a language’s features impact what the linter reports? • When is it okay to ignore what the linter reports? And how can we do it in a good way? • How to configure the linter? [...] TIMECODES 00:00 Intro 00:59 Google Maps 04:04 Linter 06:04 Elm-review 06:56 False positives 15:50 Communication 20:22 Automatic fixes 24:08 Configuring linters 29:21 Ignoring reports 41:08 Summary 42:31 Outro Download slides and read the full abstract here: RECOMMENDED BOOKS Richard Feldman • Elm in Action • Jeremy Fairbank • Programming Elm • Wolfgang Loder • Web Applications with Elm • Cristian Salcescu • Functional Programming in JavaScript • Tim McNamara • Rust in Action • Blandy, Orendorff & Tindall • Programming Rust • Ken Youens-Clark • Command-Line Rust • Kevin Hoffman • Programming WebAssembly with Rust • #Linter #Linters #Errors #ProgrammingBugs #Programming #SoftwareEngineering #LinterTutorial #Crowdstrike #Humio #Elm #ElmLang #StaticAnalysis #StaticAnalysisTool #FalsePositive #FP #FunctionalProgramming Looking for a unique learning experience? Attend the next GOTO conference near you! Get your ticket at Sign up for updates and specials at SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
Back to Top