Get more screen space on Mac

As a coder working on a laptop I can always use some more vertical screen space.

I just found out about this setting. You go to: System Preferences › General › Check ‘Automatically hide and show the menu bar’.

more-screen-space-mac-os

An extra row of space unlocked! In a few hours you won’t miss the menu bar, the same way as with the dock.

You do already show/hide your dock automatically don’t you?