What Python developers need to know before migrating to Go
11–20 of 117 posts
Re: What Python developers need to know before migrating to Go
#12I can't help but feel like criticisms along the lines of "you have to be more precise with what you want, because unlike python it won't let you get away with blah" and praise like "it seems to run correctly as soon as it compiles" are two sides of the same coin.
Re: What Python developers need to know before migrating to Go
#13I thought Go had union types? Do those not work... normally?
Re: What Python developers need to know before migrating to Go
#14Any HN readers of this post have any similar experience? I know the bright team over at bit.ly made a successful switch from python to go-- anyone else? The more I hear about go, the more I like it.
Re: What Python developers need to know before migrating to Go
#15>> No built-in type for sets (have to use maps and test for existence) Is there any particular reason for this? Sets are so fundamental to mathematics and beyond that I am concerned right away about this. Sure you could use a map as a replacement, but what happens to "user experience"? I do not get this for other languages as well. Data structures that are present in nearly all computer science books are often not bu…
Re: What Python developers need to know before migrating to Go
#16>> No built-in type for sets (have to use maps and test for existence) Is there any particular reason for this? Sets are so fundamental to mathematics and beyond that I am concerned right away about this. Sure you could use a map as a replacement, but what happens to "user experience"? I do not get this for other languages as well. Data structures that are present in nearly all computer science books are often not bu…
Basically there really isn't a general purpose way to make a set and it’s not a fundamental component of programming, it is a modified HashTables or what ever. So I argue sets don’t actually exist in CS because you can’t represent one as it exists mathematically. You are simply tacking union and intersect to an existing data structure.
Re: What Python developers need to know before migrating to Go
#17>> No built-in type for sets (have to use maps and test for existence) Is there any particular reason for this? Sets are so fundamental to mathematics and beyond that I am concerned right away about this. Sure you could use a map as a replacement, but what happens to "user experience"? I do not get this for other languages as well. Data structures that are present in nearly all computer science books are often not bu…
Re: What Python developers need to know before migrating to Go
#18Re: What Python developers need to know before migrating to Go
#19Right now, optimizing Python code by replacing critical sections with C works really well and isn't too hard to write or distribute.
How well would tooling around doing the same thing with Go work?
Re: What Python developers need to know before migrating to Go
#20Has anyone tried to integrate Go with Python? Right now, optimizing Python code by replacing critical sections with C works really well and isn't too hard to write or distribute. How well would tooling around doing the same thing with Go work?