Skip to content

Commit ac74636

Browse files
committed
Footnotes
1 parent ae7acbf commit ac74636

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/niche_numerics/byte.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ IO.println(b);
5353

5454
You will most often use the `byte` type when working with data as sequences of bytes, such as reading from and writing to binary files. Representing binary data as arrays of `byte` values is more memory-efficient than representing each individual byte as, say, an `int`.
5555

56+
57+
<!--
58+
You will most often want a `byte` when you are trying to save space in memory.
59+
You will most often use the `byte` type when working with data as sequences of bytes, such as reading from and writing to binary files. Representing binary data as arrays of `byte` values is more memory-efficient than representing each individual byte as, say, an `int`.
60+
-->
61+
5662
```java,no_run
5763
// This array of 4 bytes
5864
byte[] bytes = { 1, 2, 3, 4 };

src/reflection/invoke_a_method.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Tea {
3737
```
3838

3939
For static methods you do not need an instance of the class to invoke them.
40-
Instead, the first argument is ignored. You can pass `null`.
40+
Instead, the first argument is ignored. You can pass `null`[^strange].
4141

4242
```java
4343
import java.lang.reflect.InvocationTargetException;
@@ -65,4 +65,6 @@ class Apple {
6565
IO.println("You took " + times + " bite" + (times < 1 ? "." : "s."));
6666
}
6767
}
68-
```
68+
```
69+
70+
[^strange]: I find this strange. It hurts my brain.

0 commit comments

Comments
 (0)