4 ms·
How do you handle generics? Go doesn’t have them, right? C# has an open source compiler (Rosyln) with an API that exposes lot of information, so for advanced n
by tasogare 6y ago
How do you handle generics? Go doesn’t have them, right?
C# has an open source compiler (Rosyln) with an API that exposes lot of information, so for advanced needs there is this road too.
- loopz 6y agoIt was just a bunch of sed. It wouldn't handle generics in a general manner, so was just a script to fill a specific need in the span of a period. What was "amazing" is how much of C# didn't need any translation into Go code, for core business logic. It was up and running within say 20-30 minutes, though needed a tweak now and then (sort of like modern-day "AI" ;).