Does programming logic change depending on the language?

Asked

Viewed 64 times

0

Hello, will programming logic change if you change language or will it always be the same? like logic never changes?

  • 1

    No. Programming logic - as its name says - is a chained sequence to solve a problem. For example; For you to build a house or a building you will start with the roof or the base? Well, regardless of the language, you will always begin to build the program by the beginning of its logical sequence. So the logic will always be the same.

1 answer

1

Thinking logically doesn’t change whether you’re working in computing, engineering, mathematics or philosophy.

However, seeing that you are a new user I think your question extends to the programming concepts that you should be learning, such as:

  • Write code in a structured way, knowing that you need to a logical sequence for the compiler to read.
  • Know how to do conditionals (such as if and Else), loops of repetitions (such as for, while), understand data types (such as int, char, etcs...), understand the concept of a function...

These are some examples of programming that you will use regardless of language and syntax. Therefore, to learn logic, it makes no difference what language you are using, at most there will be differences of syntax(the way the code is written) between them. Train well the concepts and rational thinking, because these things will not change regardless of the language.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.