Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Clojure Program Flow

via CodeSignal

Overview

Master the flow of your Clojure programs using conditionals, logical functions, and various forms of iteration. This course covers everything from basic conditional statements to advanced iteration, allowing you to control your program's execution with precision.

Syllabus

  • Lesson 1: Conditionals
    • Using if and if-not to Check Hero Health
    • Adding Else Block to Villain Agility Check
    • Determine Hero Health Status Using cond
    • Enhancing cond with Additional Conditions
    • Hero Health Check with when and when-not
    • Determine Hero's Status with Conditionals
    • Using the do Form in Conditionals
    • Master Conditionals with Hero's Speed
  • Lesson 2: Logical Functions in Clojure
    • Exploring and Operator in Clojure
    • and Operator In Action
    • Exploring the or Operator in Clojure
    • or Operator In Action
    • Exploring the not Function in Clojure
    • Combining Logical Functions for Tactical Hints
  • Lesson 3: Comparison and Equality Functions in Clojure
    • Explore Clojure's Comparison Functions
    • Filling the Blanks with Comparison Functions
    • Understanding Equality Functions in Clojure
    • Fix Comparisons in Code
    • Master Comparison and Equality Functions
  • Lesson 4: Functional Iteration in Clojure
    • Simulating Shooter Game Reloading with While Loop
    • Print Shooter Queue with While Loop
    • Simulating Shooter Game Using loop/recur
    • Fix Recur Tail Position in Shooter Game
    • Simulate Bullet Firing using loop/recur
  • Lesson 5: Function Iteration with doseq and dotimes
    • Using doseq to Iterate Targets
    • Iterating over Game Actions
    • Grouping Expressions with doseq
    • Understanding dotimes in Clojure
    • Defeat Monsters with Dotimes Loop
  • Lesson 6: Function Iteration with map, filter, remove, and reduce
    • Using Map Function in a Shooter Game
    • Transform Player Scores with map Function
    • Using map with Multiple Collections
    • Using Map with Multiple Collections
    • Selective Filtering with filter and remove
    • Filter and Remove In Practice
    • Understanding reduce
    • Reduce Enemy Hit Points

Reviews

Start your review of Clojure Program Flow

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.