YoVDO

Becoming the Metaprogrammer - Real World Code Generation

Offered By: Gopher Academy via YouTube

Tags

GopherCon Courses Go Courses Code Generation Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the power of code generation in Go through real-world examples from ngrok in this 42-minute conference talk from GopherCon 2021. Dive into techniques for generating API client libraries, error handling, tests, and GRPC interceptors. Learn about various code generation tools and approaches, including stringer, mockgen, C Preprocessor, Proto, CGo, and TypeScript. Discover best practices for implementing code generation in your projects and understand how it can help reduce boilerplate code. Gain insights into user-facing error handling and browser code generation. By the end of this talk, grasp the concept of becoming a metaprogrammer and writing code that writes code to improve efficiency in Go programming.

Syllabus

Introduction
What is Code Generation
Why Code Generation
stringer
mockgen
C Preprocessor
ProtoC
GoTest
Browser Code Generation
Typescript
Code Generation
Userfacing Errors
Best Practices
Recap


Taught by

Gopher Academy

Related Courses

Compilers
Stanford University via Coursera
Build a Modern Computer from First Principles: Nand to Tetris Part II (project-centered course)
Hebrew University of Jerusalem via Coursera
Разработка веб-сервисов на Go - основы языка
Moscow Institute of Physics and Technology via Coursera
Complete Guide to Protocol Buffers 3 [Java, Golang, Python]
Udemy
Angular tooling: Generating code with schematics
Coursera Project Network via Coursera