---
title: "Dave Barrett (@PragmaticCoding) | Hashnode"
description: "I build cool stuff. Read the latest articles by Dave Barrett on Hashnode."
url: "https://hashnode.com/@PragmaticCoding"
---

@PragmaticCoding

# Dave Barrett

@PragmaticCoding · Mississauga, Ontario, Canada · Joined February 2021

I build cool stuff

### [JavaFX: All About Custom Bindings](https://pragmatic-coding.hashnode.dev/javafx-all-about-custom-bindings?utm_source=hashnode&utm_medium=feed)

Custom binding classes aren't used that often, but understanding them is the key to understanding how to use the Bindings library builder methods.

13 min read · [pragmatic-coding.hashnode.dev](https://pragmatic-coding.hashnode.dev/javafx-all-about-custom-bindings?utm_source=hashnode&utm_medium=feed)

[Mar 29, 2022](https://hashnode.com/posts/javafx-all-about-custom-bindings/62435c7b2d728ed85fffde51)

### [Optional Isn’t About Avoiding Null](https://pragmatic-coding.hashnode.dev/optional-isnt-about-avoiding-null?utm_source=hashnode&utm_medium=feed)

(Or at least not if you were doing it right before Optional)

9 min read · [pragmatic-coding.hashnode.dev](https://pragmatic-coding.hashnode.dev/optional-isnt-about-avoiding-null?utm_source=hashnode&utm_medium=feed)

[Feb 19, 2022](https://hashnode.com/posts/optional-isnt-about-avoiding-null/621156a4c6ed3906e81c3368)

### [How To Build a Hex Map Based Game in JavaFX](https://pragmatic-coding.hashnode.dev/how-to-build-a-hex-map-based-game-in-javafx?utm_source=hashnode&utm_medium=feed)

Introduction Hex Maps, or hex boards are a popular platform for tabletop games, especially wargames and Role Playing Games. They are uniquely useful because hexagons fit nicely into a grid and there are 6 directions from each hexagon (or just, "hex"...

15 min read · [pragmatic-coding.hashnode.dev](https://pragmatic-coding.hashnode.dev/how-to-build-a-hex-map-based-game-in-javafx?utm_source=hashnode&utm_medium=feed)

[Feb 15, 2022](https://hashnode.com/posts/how-to-build-a-hex-map-based-game-in-javafx/620bec457cf10d2765e284a1)

### [Demystifying Pseudo Classes in JavaFX](https://pragmatic-coding.hashnode.dev/demystifying-pseudo-classes-in-javafx?utm_source=hashnode&utm_medium=feed)

Pseudo Classes are the best way to handle on/off state changes in a Node in JavaFX. But it's very badly explained in the JavaDocs and hard to understand. This article should clear that up. What's a PseudoClass? Have you ever noticed how a Button ch...

10 min read · [pragmatic-coding.hashnode.dev](https://pragmatic-coding.hashnode.dev/demystifying-pseudo-classes-in-javafx?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/demystifying-pseudo-classes-in-javafx/61f03894e247b2151e61f4e4) [Jan 25, 2022](https://hashnode.com/posts/demystifying-pseudo-classes-in-javafx/61f03894e247b2151e61f4e4)

### [Kotlin - Should You?](https://pragmatic-coding.hashnode.dev/kotlin-should-you?utm_source=hashnode&utm_medium=feed)

Spoiler Alert: Yes, You Should!

10 min read · [pragmatic-coding.hashnode.dev](https://pragmatic-coding.hashnode.dev/kotlin-should-you?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/kotlin-should-you/61a39aefd51d1f4e7e1c735d) [Nov 28, 2021](https://hashnode.com/posts/kotlin-should-you/61a39aefd51d1f4e7e1c735d)
