Oh dear god, I hope you got / get REAL used to purposefully looking for that cord whenever you walk into the area where it's laying.
People shit on Macs all the time, but when I got my first Mac(book) in 2015, I noticed they did something absolutely genius: The power cord connects to the laptop magnetically. If I trip over the cord, it just extremely easily disconnects from the computer. I have seen all too many times in the past someone trip over a laptop cord and the laptop comes crashing down off a table or desk and goodbye laptop.
Though for all I know, maybe non-Macs do this too now. My last Dell (that came with Windows 7) didn't though.