March 15, 2024, 5:17 p.m. | Jennifer Davis

DEV Community dev.to

My team often discusses how to present code samples effectively. We want to strike a balance between providing helpful, runnable (and fun!) examples and avoiding repetitive yet more secure boilerplate code.


Should you include comprehensive security and reliability features (like rate limiting or observability) in samples, even when those aren't the primary focus?


Another example of this is whether to use frameworks like Express and libraries like express-rate-limit. These can streamline implementation, but also potentially add complexity.





Why does this …

balance cloud code discuss effectively examples features fun observability rate rate limiting reliability security softwareengineering strike team

SOC 2 Manager, Audit and Certification

@ Deloitte | US and CA Multiple Locations

Open-Source Intelligence (OSINT) Policy Analyst (TS/SCI)

@ WWC Global | Reston, Virginia, United States

Security Architect (DevSecOps)

@ EUROPEAN DYNAMICS | Brussels, Brussels, Belgium

Infrastructure Security Architect

@ Ørsted | Kuala Lumpur, MY

Contract Penetration Tester

@ Evolve Security | United States - Remote

Senior Penetration Tester

@ DigitalOcean | Canada