This presentation was recorded at GOTO Copenhagen 2022. #GOTOcon #GOTOcph http://gotocph.com Jeroen Engels - Author of Elm-review @jfmengels RESOURCES https://elm-review.com https://jfmengels.net https://elm-radio.com 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: https://gotocph.com/2022/sessions/2229/why-you-don-t-trust-your-linter RECOMMENDED BOOKS Richard Feldman • Elm in Action • https://amzn.to/387kujI Jeremy Fairbank • Programming Elm • https://amzn.to/2WhZCE8 Wolfgang Loder • Web Applications with Elm • https://amzn.to/3jblQ3q Cristian Salcescu • Functional Programming in JavaScript • https://amzn.to/3y75jBS Tim McNamara • Rust in Action • https://amzn.to/3ux2R9u Blandy, Orendorff & Tindall • Programming Rust • https://amzn.to/3x7r6w6 Ken Youens-Clark • Command-Line Rust • https://amzn.to/3PQZ539 Kevin Hoffman • Programming WebAssembly with Rust • https://amzn.to/3x3brhe https://twitter.com/GOTOcon https://www.linkedin.com/company/goto- https://www.instagram.com/goto_con https://www.facebook.com/GOTOConferences #Linter #Linters #Errors #ProgrammingBugs #Programming #SoftwareEngineering #LinterTutorial #Crowdstrike #Humio #Elm #ElmLang #StaticAnalysis #StaticAnalysisTool #FalsePositive #FP #FunctionalProgramming #JeroenEngels CHANNEL MEMBERSHIP BONUS Join this channel to get early access to videos & other perks: https://www.youtube.com/channel/UCs_tLP3AiwYKwdUHpltJPuA/join Looking for a unique learning experience? Attend the next GOTO conference near you! Get your ticket at https://gotopia.tech Sign up for updates and specials at https://gotopia.tech/newsletter SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily. https://www.youtube.com/user/GotoConferences/?sub_confirmation=1
Get notified about new features and conference additions.