"Python and Swift are pretty similar."
Said. I've finally said it. I kept silent because there was an air that I shouldn't say for some reason, This time, in recent years Language with No. 1 domestic income and No. 1 rate of increase in demand It's not like that ~ "](http://qiita.com/rotors123) I want to cut it in as a Gaiden of the series.
First look at this source comparison. What do you think of this guy? (* Please reply in the comment section)
"Give up, because you are destined to be with a strong woman like me."
~ wife
"Welcome. Live well!"
~ The words that my eldest son, who was 4 years old at the time, hung on me as I was running away from home
"Strictly be late ⚠️"
~ My wife before marriage and before my first date
"It's quite difficult to keep pretending to be unnoticed ❓️"
~ My wife after marriage
--This time, we implemented it according to the flow of the "Dai Pro" series, so we are using Japanese as much as possible for the Python version. Although the 3.x system was better at handling Japanese, it was not possible to use pictograms other than character output, as in the Obj-C version.
――For comparison, it is unreasonable to make the Python version as close as possible to the configuration of the Swift version. (So it's actually more concise, but it's verbose code for Python)
As for the impression that I implemented --Swift semi-forces developers to "readability" and "difficulty in bugs" while following the "write short" theme. --Python emphasizes "short writing" for more efficiency, and extensibility and versatility (although not surfaced this time). I had the impression that ... I think both are great languages.
After all, if you think they are similar, they are similar, and if you want to live, you will be in heaven. I want to fold my brush this time because there are chances to be happy everywhere.
Python version Python 3.6.1
Swift version Swift:3.1 Xcode:8.3.3 (Swift Playgrounds)
Python version https://github.com/rotors123/ProgrammingNoProgrammingPy.git
Swift version https://github.com/rotors123/ProgrammingNoProgrammingObjC.git
Recommended Posts