# 188 JSJ JavaScript Code Smells with Elijah Manor

> Episode of [JavaScript Jabber](https://podistic.com/podcast/javascript-jabber.md) · Published December 2, 2015 · Duration 51:31

- **Listen on Podistic:** https://podistic.com/episode/188-jsj-javascript-code-smells-with-elijah-manor
- **Audio:** https://dts.podtrac.com/redirect.mp3/api.spreaker.com/download/episode/58846857/stream.mp3 (audio/mpeg)

## About this episode

[Check out JS Remote Conf!](https://jsremoteconf.com/) 02:22 - Elijah Manor Introduction

*   [Twitter](https://twitter.com/elijahmanor) 
*   [GitHub](https://github.com/elijahmanor) 
*   [Blog](http://elijahmanor.com/)
*   [LeanKit](http://leankit.com/)
*   [Eliminate JavaScript Code Smells (Elijah's Talk Abstract)](https://gist.github.com/elijahmanor/6048b4f72265ee33fcaf)
*   [A video containing the 30 min version of the talk: Eliminate JavaScript Code Smells](https://www.youtube.com/watch?v=JVlfj7mQZPo) 
*   [The full slides (60 mins worth of material)](http://elijahmanor.com/talks/js-smells)

04:49 - What is a “Code Smell”?

*   [Martin Fowler: CodeSmell](http://martinfowler.com/bliki/CodeSmell.html) 
*   [ESLint](http://eslint.org/)
*   [JSHint](http://jshint.com/)

10:21 - Copy/Paste Code Error

*   [jsinspect](https://github.com/danielstjules/jsinspect) and [jscpd](https://github.com/kucherenko/jscpd) 
*   ES6, ES7, [Babel](https://babeljs.io/) Support

13:11 - Using ES6 to Eliminate Code Smells15:48 - Refactoring Case Statements

*   [The Strategy Pattern](https://en.wikipedia.org/wiki/Strategy_pattern)

21:29 - Juniors and Code Smells

*   Code Reviews

27:29 - Isomorphic Code31:12 - Framework Code Smells33:47 - Identifying New Code Smells36:33 - When Code Smells are OK39:10 - Why use parameters?Picks [Terms And Conditions May Apply](http://tacma.net/tacma.php) (AJ)  
 [Nodevember](http://nodevember.org/) (Aimee)  
 [Developer Tea](https://developertea.com/) (Aimee)  
 [Jake Shimabukuro](http://www.jakeshimabukuro.com/home/) (Joe)  
 [Screeps](https://screeps.com/) (Joe)  
 [react-styleguide-generator](https://github.com/pocotan001/react-styleguide-generator) (Elijah)  
 [react-styleguidist](https://github.com/sapegin/react-styleguidist) (Elijah)  
 [The Phantom Menace - What it Should Have Been](https://youtu.be/w1RHQQ0cXlo) (AJ)  
 [Attack of the Clones - What it Should Have Been](https://youtu.be/ZE4bU56teH0) (AJ)Special Guest: Elijah Manor.  
  
Support this podcast at — [https://redcircle.com/javascript-jabber/donations](https://redcircle.com/javascript-jabber/donations)  
  
Privacy \& Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)  
  
Become a supporter of this podcast: [https://www.spreaker.com/podcast/javascript-jabber--6102064/support](https://www.spreaker.com/podcast/javascript-jabber--6102064/support?utm_source=rss\&utm_medium=rss\&utm_campaign=rss).
