It is just me that didn't know Linux network device names could change?

I set up an Ubuntu machine about two years ago and it had been running without a reboot since then. Its netplan config looked like this. It got a fixed IP from my pi-hole in DHCP mode:

network:
  ethernets:
    enp1s0:
      dhcp4: true
  version: 2

I recently rebooted it but it didn't come back onto the network because enp1s0 had changed to something different. So now I've added this to the config:

network:
  ethernets:
    lan:
      match:
        macaddress: x:x:x:x:x:x
      set-name: eth0
      dhcp4: true
  version: 2

Now every time it boots it'll be called eth0. I had to also track down some things that had been using enp1s0 so they'd work again too.

Bit of a crazy gotcha.

I'm not sure I understand - in my case the "predictable" name changed between reboots (running Ubuntu 22.04). Isn't that not supposed to happen? I note the reply on that link doesn't include the approach I took. Hm.