In this post, with help of diagram, I want to show how individual are different programming language syntax.
![]() |
(Author's work) |
On diagram you can see how to write "Hello, World!" in Python versus Java.
I mentioned in initial idea 2 post, differences in purpose of programming languages also it's dissimilar syntax. Python is straight forward, clear code, easy to read, however, Java language might be more difficult to understand. For example, in Python word (native function) "print" tells system to print specific message written in brackets followed, in Java you have to write println, ln stands for line, to print message on the screen. Small details but very important to write code without syntax errors.
No comments:
Post a Comment