3 ms·
>My only real gripe with PHP is the annotation syntax. Yikes. Stuff that's in comments SHOULD NOT AFFECT RUNNING CODE. Who came up with that? Don't check out G
by coldtea 6y ago
>My only real gripe with PHP is the annotation syntax. Yikes. Stuff that's in comments SHOULD NOT AFFECT RUNNING CODE. Who came up with that?
Don't check out Golang then...
- cutler 6y agoCould you elaborate?
- coldtea 6y agoThey use comments for compilation directives, build instructions, code generation and other such stuff. https://dave.cheney.net/2018/01/08/gos-hidden-pragmas https://dave.cheney.net/2018/01/08/gos-hidden-pragmas https://dave.cheney.net/tag/build-constraints https://dave.cheney.net/tag/build-constraints https://blog.carlmjohnson.net/post/2016-11-27-how-to-use-go-generate/ https://blog.carlmjohnson.net/post/2016-11-27-how-to-use-go-...