那邏輯能力得很強吧?怎麼知道先寫什麼後寫什麼。還是跟蓋房一樣,有個基本順序,先有個平面圖,再框架,然後裝修😂?

Reply to this note

Please Login to reply.

Discussion

复杂的项目要有详细设计文档的

You haven't feel what's on programmer's head i see.

We have a plan, think of the code, then start coding. That's how it works.

However, Don't make an (graphic) designer the same as programmer. We do not "decorate" or "frame". We're more of getting stuff works.

If you are referring to how different a code was written on different languages, Like in Python:

```

while True:

print("Hello world")

```

In go:

```

package main

func main() {

for {

print("Hello world")

}

}

```

In js:

```

while (true) {

console.log("Hello world")

}

```

And In C:

```

#include

void main() {

while (true) {

printf("Hello world\n")

}

}

```

It's all depending on what language that the programmer use or prefer. There are language that is easier to learn (high level lang, but sometimes offer less control over computer), machine friendly (low level lang like C), and so on.

If you ask why are there so many different programming languages that has different syntax / writings when they all essentially do the same thing,

It's almost equal to why are there so many different kinds of motorized vehicles when they all essentially do the same thing

Some programming language was created due to some problem on some language, Legacy code on the language, Innovation, and so on.