Feed aggregator

Microchess for the Kim-1 (2006)

Hacker News - Tue, 04/02/2024 - 12:19am
Categories: Hacker News

Ask HN: What's the ideal way of showing code in a technical book?

Hacker News - Tue, 04/02/2024 - 12:18am

Hello HN,

I'm currently working on a technical book focused on graphics programming. One challenge I'm encountering is that the graphics programming APIs tend to be very verbose, resulting in sample code that is quite lengthy. If I include the full source code for each example, a significant portion of the book will be occupied by code, which may not be the most useful approach. Instead, I want to prioritize providing detailed explanations.

However, if I only include a few lines of code relevant to each explanation, I'm concerned that readers may struggle to see the big picture and connect the dots between different concepts.

Have you come across any books that handle this balance effectively? I'm eager to learn from their approach. Additionally, any other suggestions regarding the format of a traditional technical book are welcome.

Thank you.

Comments URL: https://news.ycombinator.com/item?id=39902344

Points: 1

# Comments: 1

Categories: Hacker News

Wordle Answer For Tuesday: Don't Click Here if You Don't Want Spoilers - CNET

CNET Feed - Tue, 04/02/2024 - 12:01am
Here are some hints, and the answer, for Wordle No. 1018.
Categories: CNET

Timeline of the xz open source attack

Hacker News - Mon, 04/01/2024 - 11:58pm
Categories: Hacker News

Avalanche Porcupines

Hacker News - Mon, 04/01/2024 - 11:56pm
Categories: Hacker News

Mini Macro Pad v1.1.0 release

Hacker News - Mon, 04/01/2024 - 11:54pm

Article URL: https://github.com/ssebs/go-mmp

Comments URL: https://news.ycombinator.com/item?id=39902230

Points: 1

# Comments: 1

Categories: Hacker News

Low Cost Robot Arm

Hacker News - Mon, 04/01/2024 - 11:50pm
Categories: Hacker News

Pages