Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
myg204
on May 12, 2015
|
parent
|
context
|
favorite
| on:
Go Lang: Comments Are Not Directives
Interesting. Why don't you use an include file directive there?
enum_example_t { #include "example_values.txt" EXAMPLE_Max, }
where example_values would have the strings 'EXAMPLE_foo,'? Just wondering.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: