Introduction
Introduction Statistics Contact Development Disclaimer Help
Post AsRldiPIvXmHEfUd5E by [email protected]
More posts by [email protected]
Post #AsRkwD5BW0ApdGKymm by [email protected]
0 likes, 0 repeats
I used print statements for debugging in production and it worked. I told mysel…
Post #AsRl8WZ0uWOZWjA4i8 by [email protected]
0 likes, 0 repeats
@nixCraft of course! It’s often a good time to reflect on why debugging in pr…
Post #AsRlKYcL6KJdN4SGSu by [email protected]
0 likes, 0 repeats
@nixCraft It's not a sin. It's a valid method for testing. I usually h…
Post #AsRlcKNCnb00PFqjs8 by [email protected]
0 likes, 0 repeats
@nixCraft in C there is the assert() function afaik. Are there not equivalents …
Post #AsRldiPIvXmHEfUd5E by [email protected]
0 likes, 0 repeats
@nixCraft What are logs, if not debugging print statements used in production?
Post #AsRmrbMU1E9LOPMJP6 by [email protected]
0 likes, 0 repeats
@nixCraft I’ve left debug printf()s in C programms, because they “fixed” …
Post #AsRov8dYxR0rN7A6IC by [email protected]
0 likes, 0 repeats
@nixCraft for some time I played around with tracing (https://www.honeycomb.io/…
Post #AsRs1cdWdJxO0sva5Y by [email protected]
0 likes, 0 repeats
@nixCraft Using print() to debug is fine and, for most cases, superior to using…
Post #AsRyNfD0LkDQ5RPs7k by [email protected]
0 likes, 0 repeats
@nixCraft I don’t test often, but when I do, I do it in production.- The most…
Post #AsRycSRE73SOp67g6S by [email protected]
0 likes, 0 repeats
@nixCraft What the end user doesn't see, doesn't hurt them. Always prin…
Post #AsSEHrwVgtJJ6qxZy4 by [email protected]
0 likes, 0 repeats
@nixCraft This is a very good method (when optimization doesn't screw it up…
Post #AsSFRixG3vzY5GZa8u by [email protected]
0 likes, 0 repeats
@[email protected] @[email protected] is it actually? you can do the…
Post #AsSFRj3HhWoQNxOOXI by [email protected]
0 likes, 0 repeats
@m @nixCraft true. if you're working on software where compile times are si…
Post #AsYS3TxubcuOzuPRAG by [email protected]
0 likes, 0 repeats
@LinuxGeek46 @nixCraft I use my own print command which has the test included.I…
Post #AsYS53umQqdKmZhJtA by [email protected]
0 likes, 0 repeats
@batlaizan in Python it's a keyword, in Zig it's std.debug.expect(). In…
You are viewing proxied material from pleroma.anduin.net. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.