Blog

Pruebe este cuestionario en línea sobre Java Gotchas

February 21, 2021
Alan Richardson

Una entrada de blog anterior describía el «operador bitwise vs booleano» de Java Gotcha.

Hemos añadido una variante de esto, y algunos otros problemas de Java, a un pequeño y divertido cuestionario llamado «Desafía al sensei».

Si has leído la entrada de blog anterior, estarás en una buena posición para responder al menos a una de las preguntas.

Pero es posible que tus amigos no, así que si el cuestionario te parece divertido, puedes compartirlo con ellos y ver si obtienen tan buenos puntajes como tú.

Ya que no queremos simplemente hacerte un cuestionario. Queremos intentar usar esto para ayudar a educar y codificar el conocimiento. Por eso, hemos creado un repositorio de Github que tiene ejemplos de código ejecutables para el problema y la solución.

Este es un Sensei repositorio habilitado.

Cuando clonas el repositorio y lo cargas en IntelliJ, suponiendo que tienes el Secure Code Warrior Sensei Instalado el complemento IntelliJ, verá automáticamente que tienes una carpeta .sensei y cargará las recetas de Sensei.

Cuando navegues por el código en el IDE, verás que IntelliJ te indica que el error existe en el código, y esto debería facilitar la comprensión del código:

  • Pase el ratón sobre el código resaltado y verá un mensaje que le informará sobre el error
  • Usa la tecla Mostrar acción contextual: alt+enter (Windows) opción+enter (macOS) y es posible que tengamos disponible una solución rápida que pueda corregir el código.

Se han agregado recetas de Sensei para:

Vamos a añadir más recetas y más texto explicativo para cubrir el resto del código en el futuro... pero no dejes que eso te impida echar un vistazo al código y detectar el error tú mismo.

Y recuerda probar el cuestionario y»Desafía al sensei«

Challenge The Sensei
Lema

Govern AI-driven development before it ships

Measure AI-assisted risk, enforce secure coding policy at commit, and accelerate secure delivery across your SDLC.

book a demo
Lema

Explore more blogs

Lorem ipsum diam quis enim lobortis scelerisque fermentum dui faucibus in ornare quam viverra orci sagittis eu volutpat odio facilisis.

browse all
Case Study
Filter Label
This is some text inside of a div block.

Supercharged Security Awareness: How Tournaments are Inspiring Developers at Erste Group

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Learn More
Case Study
Filter Label
This is some text inside of a div block.

Security as culture: How Blue Prism cultivates world-class secure developers

Learn how Blue Prism, the global leader in intelligent automation for the enterprise, used Secure Code Warrior's agile learning platform to create a security-first culture with their developers, achieve their business goals, and ship secure code at speed

Learn More
Case Study
Filter Label
This is some text inside of a div block.

One Culture of Security: How Sage built their security champions program with agile secure code learning

Discover how Sage enhanced security with a flexible, relationship-focused approach, creating 200+ security champions and achieving measurable risk reduction.

Learn More
Blog
Filter Label
This is some text inside of a div block.

Enabler 7: Developer Recognition

Recognition fuels participation. Enabler 7 celebrates developer achievement loudly, with rewards and exclusive swag that mark real, earned secure coding wins.

Learn More
Blog
Filter Label
This is some text inside of a div block.

Named in the Gartner® Hype Cycle™ for Application Security 2026

Secure Code Warrior is named in the Gartner® Hype Cycle™ for Application Security, 2026 for Agentic Coding Security and Secure Coding Training. Here's why.

Learn More
Blog
Filter Label
This is some text inside of a div block.

Are you a CISO or Engineering Leader worried about the Security and Cost of LLM code generation?

Review the SCW AI Trust Index, our proprietary LLM benchmarking data, before going all-in on an AI model.

Learn More

Secure AI-driven development before it ships

See developer risk, enforce policy, and prevent vulnerabilities across your software development lifecycle.

Reservar una demostración
No items found.