Skip to content

figure out how to make the code less janky with regards to formatted printing #10

@andrewrk

Description

@andrewrk

This pattern is pretty clunky:

poop/src/main.zig

Lines 329 to 332 in b01058a

try printUnit(fbs.writer(), m.mean, m.unit, m.std_dev);
try w.writeAll(fbs.getWritten());
count += fbs.pos;
fbs.pos = 0;

See also #4

I don't know exactly what it takes to solve this issue but I was very frustrated with std.fmt while working on this codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions