JavaScript Jabber

JSJ 272: Functional Programming and ClojureScript with Eric Normand

14 snips
Aug 1, 2017
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Four-Step App Structuring Process

  • Develop a real-world metaphor to intuitively understand your application before coding.
  • Define operations and their relationships, then prototype with testable functional code in memory first.
INSIGHT

Limits of Refactoring Code

  • You cannot always refactor code to improve or change core concepts; sometimes you must discard and restart.
  • This is like replacing Aristotelian physics with Newtonian mechanics, requiring completely new concepts.
ADVICE

When to Abstract Code

  • Wait until patterns emerge before abstracting code to avoid premature abstraction.
  • Abstractions should have clear mathematical or practical properties to be worthwhile.
Get the Snipd Podcast app to discover more snips from this episode
Get the app