Return type of put and get.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- arduino, cpp
- Área
- api, embedded-iot
Línea de trabajo
The issue names the put, get, and putString API entry points but no files or tests. Start by locating those declarations and reviewing the current return-value contract; an agreed API change and its expected behavior would define done.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Subject of the issue
Just wondering why the return type of put is T&? (same for get).
I don't really see why these functions return the value we feed them with.
I wonder if it wouldn't make more sense to have put return the next writable location, kind of like putString.
That way, it would become possible to save structs one after another, by using the returned value as the next address.
Perhaps it would also make sense if get just returned void.
What do you guys think?
Your workbench
- Not relevant.
Steps to reproduce
Not relevant.
Expected behavior
Not relevant.
Actual behavior
Not relevant.
- Lenguaje dominante
- C++
- Estrellas
- 67
- Forks
- 23
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sparkfun/SparkFun_External_EEPROM_Arduino_Library
-
Use of Software I²C ?Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
sparkfun/SparkFun_External_EEPROM_Arduino_Library#41 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 32/100
sparkfun/SparkFun_External_EEPROM_Arduino_Library#33 · 1 comentario ·
Todos los issues de sparkfun/SparkFun_External_EEPROM_Arduino_Library
Issues similares
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
flashinfer-ai/flashinfer#6212 ·
Los mantenedores suelen responder en 1 día
-
bug graphics
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
FlaxEngine/FlaxEngine#4295 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Algorithmiq/monoprop#390 ·
Los mantenedores suelen responder en 1 día
-
docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
leethomason/tinyxml2#1097 ·