News for hackers. Stuff that matters.
Re:The gap between learning code and producing usable software by valuearb on Wednesday July 01, 2020 @09:19PM (#23708926)
I agree with pretty much all of this except:

> Don’t keep “Logs” (similar to print) when building for production!

Not logging in production code is a recipe for not being able to fix some key user problems. Remote logging is mandatory for a high quality app.

Re:The gap between learning code and producing usable software by nhumrich on Wednesday July 01, 2020 @09:46PM (#23709108)
Similarly, logging too much makes logs meaningless. Purpose-based specific log platforms can be useful, like, stack traces go to sentry, tracing goes to jaeger, stdout for global context stuff, etc. All of these going in one stream makes it almost as useless as no logs.
Re:The gap between learning code and producing usable software by posedge on Thursday July 02, 2020 @12:19PM (#23714895)
I disagree. If you have too much, you can always filter. If you have too little, you're blind.