Return type of put and get.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- arduino, cpp
- Lĩnh vực
- api, embedded-iot
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 67
- Fork
- 23
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sparkfun/SparkFun_External_EEPROM_Arduino_Library
-
Use of Software I²C ?Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
sparkfun/SparkFun_External_EEPROM_Arduino_Library#41 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 32/100
sparkfun/SparkFun_External_EEPROM_Arduino_Library#33 · 1 bình luận ·
Tất cả issue của sparkfun/SparkFun_External_EEPROM_Arduino_Library
Issue tương tự
-
llvm.memcpy with destination align but no source align asserts "Missed Source alignment!"Có thể đã có người làm @pvelesko đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
KhronosGroup/SPIRV-LLVM-Translator#4093 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
SIMQ silently truncates multi-query batch search to the first queryCó thể đã có người làm @LHT129 đã nhận hôm nay. Đang mởkind/bug module/index needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
antgroup/vsag#3080 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
KhronosGroup/glslang#4469 ·
Maintainer thường phản hồi trong vòng 1 ngày