A keyword in various programming languages whose syntax is similar to or derived from C (C++, C#, Swift, Go, Rust, etc.)
In C and C++, the typedef keyword allows you to create an alias for a known data type.
"Struct foo is easier to parse then typedef d foo as the name-lookup is simpler"
from question "Why does C need "struct" keyword and not C++?"
"Also i think typedef is a better choice when you want to define a struct"
from question "Deleting a Node That Contains a String from a Linked List in C"
"One camp most notably the linux kernel people thinks that struct a is clearer than the typedef"
from question "What's the most appropriate way to sizeof a struct"
|S incredibly longer||
"You can verify with a simple objdump symbols objfile.obj that the length of decorated symbols by using typedef s is incredibly longer than their similar counterparts split into struct s microsoft compilers have historically used a proprietary name mangling scheme"
from question "I cannot understand how a struct can substitute a typedef"
"This is a good example of a time to know the basics - i think understanding the ins and outs of struct is more helpful than typedef since you can do so much more with it"
from question "How can I use std.typecons.Typedef with functions?"