RS485 vs RS232 similarity vs differences
Mostly right. Certain configurations of half duplex, collision detecting RS485 require a driver enable signal and software changes to detect the collision which RS232 would never need. RS485 might also have addressing implemented in hardware or software which RS232 would never have.

But for point-to-point communications you can essentially use the same code for both RS232 and full duplex RS485.