Re:Incrementally migrating over one million lines of code fr...
by mserdarsanli on Wednesday February 06, 2019 @02:45PM
(#19099014)
They are quite different languages with similar names, like java and javascript
[ Parent
| on HN ]
Re:Incrementally migrating over one million lines of code fr...
by ben509 on Wednesday February 06, 2019 @02:57PM
(#19099181)
I saw an interesting article about how a million line production codebase was able to run simultaneously in both python 2 and 3, so I don't see how you could call them "different languages with similar names."
Re:Incrementally migrating over one million lines of code fr...
by cpburns2009 on Wednesday February 06, 2019 @02:50PM
(#19099087)
Python 2 and 3 are nearly identical. Yes, there's some backward incompatible changes. It's nothing like the gulf between Java and JavaScript which are only related in that they use C-like syntax. Java and C# have more in common than JavaScript.
Re:Incrementally migrating over one million lines of code fr...
by ageitgey on Wednesday February 06, 2019 @08:06PM
(#19101982)
That is not correct at all. Python 2 and Python 3 have relatively few syntax differences. You could teach someone the key differences in like 10 minutes.
In fact, I would even say that the difference between Python 2 and Python 3 syntax is far less than the syntax difference between traditional javascript and the latest revisions to javascript (ES6+).