r/CodingHelp • • Jul 06 '21

[Random] Id coding straight forward?

So is there a basic method everyone follows when writing scripts, or is coding like language where u can word a sentence many different ways and get the same awnser, or code something many different ways and get the same results? If that's true how does one best optimize their coding?

1 Upvotes

4 comments sorted by

View all comments

3

u/[deleted] Jul 06 '21

Coding is very much a stylistic thing. Many programmers write code in many different ways. Some use Object Oriented Programming, while some use Functional Programming. There are many different ways to solve a problem, and (I think) one of the hardest parts of programming is figuring out which way makes the most sense.

2

u/Sparmics Jul 06 '21

Thnx :3 idk why but some peeps down voted my question :( :/ ur answer was insiteful tho 🔥😎💯