3 ms·
> was a fan of python whitespace indentation That's what turns me off about Python (and f-strings), being a Perl programmer. I've had to do some proof of conce
by petre 5y ago
> was a fan of python whitespace indentation
That's what turns me off about Python (and f-strings), being a Perl programmer. I've had to do some proof of concept for reading smart cards and the Perl PCSC library sucks. So I did it in Ruby, which like Perl has pack/unpack methods for converting hex strings to binary and back. It's just great. Now I have not two programs to read smart cards, one using the Ruby smartcard library and another one using rubyserial and doing serial communication directly with the card reader, with a partial implementation of the T1 protocol, all in under 1k lines of code.