Menu

#Struct

16 posts

Feed·
15 of 16 posts
📰
0

Why is go pooling worse than not trying to optimize anything?

Reddit r/golang·u/canadiancoding·about 1 month ago
#qVdDPEMS
#pointers#struct#pooling#worse#user#article

EDIT: After looking at the responses, the code basically just had some copy-paste coding errors that were giving the result. I've left the original contents in-tact for people interested below, but after fixing the issues and shifting things around I…

15s
Read More
PHPUnit Mocking Made You Lazy. Go Will Force You to Design
🖼️
0

PHPUnit Mocking Made You Lazy. Go Will Force You to Design

DEV Community·Gabriel Anhaia·about 1 month ago
#zJVErbvI
#go#php#interface#test#user#struct

PHP can mock anything. Go cannot mock a struct. The constraint is the architecture lesson a PHP dev moving to Go has to confront.

15s
Read More