r/programming • • Aug 04 '20

Why You Should Never, Ever print() in a Lambda Function

https://medium.com/@psingman/why-you-should-never-ever-print-in-a-lambda-function-f997d684a705
0 Upvotes

4 comments sorted by

14

u/katyalovesherbike Aug 04 '20

regarding AWS lambda. Not lambda functions in the traditional sense.

-4

u/twopairisgood Aug 04 '20

It's an overloaded word!

9

u/katyalovesherbike Aug 04 '20

yeah, which is why context would help. And in this specific case one has nothing to do with the other.

1

u/Tordek Aug 12 '20

FWIW: if it wasn't for their comment I wouldn't have read the article.

"Why you shouldn't you print in a lambda"? Because it should be a pure function, or whatever beginner bullshit people come to post here.

"Why you should never print in an AWS Lambda Function?" Huh, now that's something that catches my eye, I'd never expect something wrong with doing that.