Best and most efficient way to write scripts

  1. What do you want to achieve?
    I would like to know what you think about the methods of writing scripts, which one is the most effective, easiest, best for writing a particular method

considering the most:

  • Readability
  • Efficiency
  • Optimizations
  • Code simplification
  • writing scheme
  1. What is the issue?
    I don’t know how I should write/get used to so that my work bears the most fruit

  2. What solutions have you tried so far?
    I have read a lot about different methods, but in the end I do not know which will be the best ;/

1 Like

In short, there is no best way to write programs. To solve a given problem, there exists hundreds of methods and answers, each with their own pros and cons. If you’d like a more realistic answer, then you’ll have to consider the way you write code with a paradigm in mind.

In programming, the way we write our code is often dependant on the given paradigm we follow, which provide the structures and techniques used within our programs. Object Oriented Programming (OOP) is the most popular paradigm, but that doesn’t mean it is the best for every given situation, nor does it mean there is only one way to solve a problem with OOP.

Personally, I would recommend learning a paradigm, designing with it and then moving on to the next. As a programmer, you’ll become accustomed to a given way of designing future-proof code, which may or may not be the common way - the only way to find out is by doing.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.