2021-05-04
See previous post. Time flies: I have joined and left Lazada in the meantime. Right now I am working as AI Scientist @ Shanda.
The tech stack is simple:
Pairec lacks A LOT OF things for the stack, mostly because the stack is on AWS, not Aliyun. If time allows, plan to add:
The transition from Python feels quite natural, as I was comfortable with TypeDict
, pydantic
model and type annotation anyway. The aha moment for me, was treating golang == C with sane syntax + async runtime (goroutine and channel) + interface, instead of another new language. I also like that, Golang treats Makefile and SQL as first class citizen, instead of reinvents the wheel. The only thing I miss from Python are sum type and list comprehension.
This is how many lines of golang I have written since the switch:
# use this SO answer: https://stackoverflow.com/a/7010890
added lines: 4968, removed lines: 4345, total lines: 623