HN user

tobywf

7 karma
Posts0
Comments3
View on HN
No posts found.

AFAIK, they're talking about languages like Rust, or C/C++ with `-Wswitch` (also implied by `-Werror`, which will warn you if you haven't handled all enum cases in a match/switch statement.

as someone else in this thread pointed out [0], it's possible with MyPy when using if/elif/else, or if you did it with a dictionary lookup, you could write a very simple test that checks that the set of enum values is equal to the dictionary key members. I've done this before, it works well [1].

[0] https://news.ycombinator.com/item?id=23441023 [1] https://github.com/aws-cloudformation/cloudformation-cli/blo...

Location: Sydney, Australia

Remote: No

Willing to relocate: Yes (especially Melbourne)

Technologies: Generally focussed on highly reliable and secure software, so backend. My last role was in enterprise storage. I'm not really fussed what technologies we'll use to ship a successful product. In the past, I've used these and others:

C, Python, Flask, SQLAlchemy, Ansible, Chef, Vagrant, Jenkins, Linux (Debian, Ubuntu, RHEL), C#, Java, Perl, Bash, Redis, CouchDB, PostgreSQL, MySQL/MariaDB, ZeroMQ

Résumé/CV: https://tobywf.com/resume/

Email:

* Captcha: http://www.google.com/recaptcha/mailhide/d?k=01yLexiKcHH2_9o...

* https://www.linkedin.com/in/tobywf