Comments (6)
Hello. Thanks for opening an issue on Exercism. We are currently in a phase of our journey where we have paused community contributions to allow us to take a breather and redesign our community model. You can learn more in this blog post. As such, all issues and PRs in this repository are being automatically closed.
That doesn't mean we're not interested in your ideas, or that if you're stuck on something we don't want to help. The best place to discuss things is with our community on the Exercism Community Forum. You can use this link to copy this into a new topic there.
Note: If this issue has been pre-approved, please link back to this issue on the forum thread and a maintainer or staff member will reopen it.
from csharp.
So this last sentence - what is it supposed to mean? Perhaps it needs to re-phrased to make it more clear for the reader.
Do you perhaps have a better suggestion for how to handle this?
from csharp.
As I understood the task, the only valid values of the prefix byte are these:
- for signed short: 254
- for unsigned short: 2
- for signed int: 252
- for unsigned int: 4
- for signed long: 248
- for unsigned long: 8.
If that's correct it means that if any of 2, 4, 8, 248, 252 or 254 is passed as a prefix byte to TelemetryBuffer.FromBuffer
method then the method will return correct numeric value. If the prefix byte is none of these six values, then the method will return 0. If what I just said is correct then shouldn't the last sentence say this:
If the prefix byte is not one of 2, 4, 8, 248, 252 or 254 then 0 should be returned.
instead of this If the prefix byte is not one of -8, -4, -2, 2 or 4 then 0 should be returned.
?
Or perhaps it can be removed completely. Or it may be less specific, like If the prefix byte is of unexpected value then 0 should be returned
.
from csharp.
If the prefix byte is of unexpected value then 0 should be returned.
I like that! Would you be willing to submit a PR?
from csharp.
Took me a while to get back to it, sorry. Here's the PR #2163.
from csharp.
@ErikSchierboom The PR has been merged, I think this issue can be closed.
from csharp.
Related Issues (20)
- New C# concept exercise: Queue HOT 1
- XOR operator for booleans HOT 1
- Missing closing parentheses in instructions HOT 2
- New approach to Perfect Numbers exercise HOT 1
- 🤖 Sync error for commit 2e1c3c
- 🤖 Sync error for commit 2793b1 HOT 3
- elons-toys: Inconsistent object instantiations in tests HOT 1
- C# Log level exercise needs tests cases with numbers HOT 1
- Building a training set of tags for csharp HOT 21
- Missing example in do-while loops introduction in C# track HOT 3
- Deprecate `accumulate`? HOT 1
- Wrong instructions in Dominoes exercise HOT 1
- Improved and consistent "Please implement..." messages HOT 3
- Fix and improve the generator HOT 1
- Bowling and Nullability HOT 1
- Bowling and Nullability HOT 1
- Bowling and Nullability HOT 2
- Either support the current C# language or tell us what language version is being used for tasks. HOT 3
- Squeaky Clean (Task 4) - Mistake in Asserting Greek characters HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csharp.