KotCat
Atrás
👨💻 Trabajar con código — Working with Code
codebase - base de código
I'm still getting familiar with the codebase.
Todavía me estoy familiarizando con el código base.
source code - código fuente
The source code is in this repository.
El código fuente está en este repositorio.
function - función
This function does too many things.
Esta función hace demasiadas cosas.
component - componente
We can reuse this component here.
Podemos reutilizar este componente aquí.
dependency - dependencia
We need to update this dependency.
Necesitamos actualizar esta dependencia.
variable - variable
This variable name is misleading.
El nombre de esta variable es engañoso.
argument - argumento
The function takes two arguments.
La función toma dos argumentos.
return value - valor de retorno
We should check the return value.
Deberíamos comprobar el valor de retorno.
edge case - caso extremo
We need to handle this edge case.
Necesitamos manejar este caso extremo.
fallback - alternativa de respaldo
We should provide a fallback if the request fails.
Deberíamos proporcionar un recurso alternativo si la solicitud falla.
validation - validación
This field needs additional validation.
Este campo necesita validación adicional.
error handling - manejo de errores
The error handling could be improved.
El manejo de errores podría mejorarse.
exception - excepción
This method can throw an exception.
Este método puede generar una excepción.
throw an exception - lanzar una excepción
We should throw an exception if the value is invalid.
Deberíamos lanzar una excepción si el valor no es válido.
catch an exception - atrapar una excepción
We catch the exception and log the error.
Detectamos la excepción y registramos el error.
stack trace - traza de pila
Can you send me the stack trace?
¿Puedes enviarme el seguimiento de la pila?
logs - registros
Let's check the logs first.
Primero revisemos los registros.
breakpoint - punto de interrupción
Put a breakpoint on this line.
Ponga un punto de interrupción en esta línea.
debug - depurar
I'm trying to debug this issue.
Estoy intentando depurar este problema.
root cause - causa raíz
We haven't found the root cause yet.
Aún no hemos encontrado la causa raíz.
hard-coded - codificado directamente
This value is hard-coded.
Este valor está codificado.
reusable - reutilizable
Let's make this logic reusable.
Hagamos que esta lógica sea reutilizable.
maintainable - mantenible
This version is easier to understand and maintain.
Esta versión es más fácil de entender y mantener.
deprecated - obsoleto
This API is deprecated.
Esta API está en desuso.
legacy code - código heredado
Be careful when changing the legacy code.
Tenga cuidado al cambiar el código heredado.
breaking change - cambio incompatible
This update includes a breaking change.
Esta actualización incluye un cambio importante.
backward compatible - compatible con versiones anteriores
The new API should be backward compatible.
La nueva API debería ser compatible con versiones anteriores.
duplicate code - código duplicado
There's a lot of duplicate code here.
Hay mucho código duplicado aquí.
clean up the code - limpiar el código
I'll clean up the code before opening the PR.
Limpiaré el código antes de abrir el PR.
extract a function - extraer una función
We should extract this into a separate function.
Deberíamos extraer esto en una función separada.
rename a variable - cambiar el nombre de una variable
Let's rename this variable to make it clearer.
Cambiemos el nombre de esta variable para que quede más clara.
remove unused code - eliminar el código no utilizado
I removed some unused code.
Eliminé un código no utilizado.
add a check - añadir una comprobación
We should add a check for an empty value.
Deberíamos agregar un cheque por un valor vacío.
handle an error - manejar un error
We need to handle this error gracefully.
Necesitamos manejar este error con gracia.
null check - comprobación de nulos
We're missing a null check here.
Nos falta una verificación nula aquí.
type mismatch - incompatibilidad de tipos
The error is caused by a type mismatch.
El error se debe a una falta de coincidencia de tipos.
side effect - efecto secundario
This function has an unexpected side effect.
Esta función tiene un efecto secundario inesperado.
race condition - condición de carrera
This looks like a race condition.
Esto parece una condición de carrera.
memory leak - pérdida de memoria
We may have a memory leak here.
Es posible que tengamos una pérdida de memoria aquí.
bottleneck - cuello de botella
This database query is the main bottleneck.
Esta consulta a la base de datos es el principal cuello de botella.
performance issue - problema de rendimiento
We're seeing a performance issue on slower devices.
Estamos viendo un problema de rendimiento en dispositivos más lentos.
optimize - optimizar
We can optimize this later if needed.
Podemos optimizar esto más adelante si es necesario.
cache - caché
We can cache this response.
Podemos almacenar en caché esta respuesta.
mock - mock
We use a mock in the unit test.
Usamos un simulacro en la prueba unitaria.
unit test - prueba unitaria
I added a unit test for this case.
Agregué una prueba unitaria para este caso.
integration test - prueba de integración
The integration test is failing.
La prueba de integración está fallando.
test coverage - cobertura de prueba
This module has poor test coverage.
Este módulo tiene una cobertura de prueba deficiente.
expected behavior - comportamiento esperado
Is this the expected behavior?
¿Es este el comportamiento esperado?
actual behavior - comportamiento real
The actual behavior is different from the specification.
El comportamiento real es diferente al de la especificación.
can't reproduce locally - no se puede reproducir localmente
I can't reproduce the bug locally.
No puedo reproducir el error localmente.
Palabras de la colección
Añadir a mis carpetas
codebase
source code
function
component
dependency
variable
argument
return value
edge case
fallback
validation
error handling
exception
throw an exception
catch an exception
stack trace
logs
breakpoint
debug
root cause
hard-coded
reusable
maintainable
deprecated
legacy code
breaking change
backward compatible
duplicate code
clean up the code
extract a function
rename a variable
remove unused code
add a check
handle an error
null check
type mismatch
side effect
race condition
memory leak
bottleneck
performance issue
optimize
cache
mock
unit test
integration test
test coverage
expected behavior
actual behavior
can't reproduce locally