While testing a module I wanted to check that a deprecation warning shows up. Warnings are a special sort of exception that you can catch in a CONTROL block.
Read moreCategory: Quick Tricks
Quick Trick: Longest string using the reduction operator
I had a problem where I wanted the longest string from a list. I didn’t want to sort because I wanted to do it with a single pass. (The comments […]
Read more