it's not a choice, we program LTR and in latin because it's a requirement of all programming languages (apart from insignificant exceptions)
قلب: a non-ASCII programming language written in Arabic - https://news.ycombinator.com/item?id=21352508 - Oct 2019 (623 comments)
Ramsey Nasser's Arabic programming language artwork - https://news.ycombinator.com/item?id=7700691 - May 2014 (108 comments)
Despite Hebrew and Arabic being right-to-left languages, all coding is done in normal left-to-right Latin (really, English) programming frameworks.
As Dalia noted, all major programming languages are left-to-right with Latin alphabet, and their frameworks/SDKs/APIs are filled with English words for functions and classes.
> $ php -r :: > Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM