Headless mode replaced separate server project?

Godot Version

4.2.2

Question

Recently I came across some statements that the typical server - client (separate projects) structure like it was in Godot 3 is no longer the way to go, instad you write client and server in the same project. Then you run the server (on dedicated server) in headless mode. Can someone confirm that?

You can do it both ways in Godot 3 and Godot 4