Skip to content

Comments

Uploaded solutions to all exercises#6

Open
ckkok wants to merge 3 commits intoawongh:masterfrom
ckkok:master
Open

Uploaded solutions to all exercises#6
ckkok wants to merge 3 commits intoawongh:masterfrom
ckkok:master

Conversation

@ckkok
Copy link

@ckkok ckkok commented Feb 27, 2018

Deliverable Submission

Please describe your comfort and completeness levels before submitting.

Comfort Level (1-5): 5

Completeness Level (1-5): 5

What did you think of this deliverable?:
Nice opportunity to practise JS. It's been a while :D

@ckkok ckkok changed the title Uploaded all solutions with 3 implementations of fizzbuzz (bitwise, n… Uploaded solutions to all exercises Feb 27, 2018
// We can of course shift the binary string beforehand to account for this, but *lazy*. Edit: Ah
// heck it, I wrote that thing above.

// Need to either shift the binary filter to the right by 2 digits to prepare for the next iteration, or to reset it if it's done.
Copy link
Author

@ckkok ckkok Feb 27, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I'm checking out this discussion function of GitHub... I've never used this before. Seems a bit messy D:)

Note: This explanation needs to be better phrased. The | isn't conventionally referred to by the "or reset the ..." phrase. What it's doing is 3 bitwise operators, shift to the right by 2, then bitwise-OR with the previous result shifted left by 28 (effectively returning the current 2-digit binary filter to all the way to the left for use later).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant