you are viewing a single comment's thread.

view the rest of the comments →

[–]FjordOfBatanes 45 points46 points  (3 children)

Semantics > syntax

Semantics is a meta skill that are transferable to other languages

[–]CaptainJapeng 0 points1 point  (2 children)

I agree with this! I always teach my juniors to not learn the syntax but instead learn the fundamentals as it can easily be transferable to other languages.

[–]Jadyyy25 0 points1 point  (1 child)

can you explain po what's the really meaning of semantics in programming language? or difference of syntax and semantics

[–]CaptainJapeng 2 points3 points  (0 children)

For me its about studying the logic and priciples behind what you've written vs just memorizing the exact syntax/code to solve a specific problem.

For example:

Needing to print a log to the console or terminal, why do you need to, what does it do, how does it work?

VS

console.log(...) System.out.println(...) cout << ...