Click here to Skip to main content
15,887,214 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: NAPP: "Safely" including contact information in an email Pin
rnbergren15-Sep-22 3:30
rnbergren15-Sep-22 3:30 
GeneralRe: NAPP: "Safely" including contact information in an email Pin
Marc Clifton15-Sep-22 4:35
mvaMarc Clifton15-Sep-22 4:35 
GeneralRe: NAPP: "Safely" including contact information in an email Pin
rnbergren15-Sep-22 5:14
rnbergren15-Sep-22 5:14 
GeneralRe: NAPP: "Safely" including contact information in an email Pin
Gerry Schmitz15-Sep-22 6:56
mveGerry Schmitz15-Sep-22 6:56 
GeneralRe: NAPP: "Safely" including contact information in an email Pin
raddevus15-Sep-22 11:04
mvaraddevus15-Sep-22 11:04 
QuestionRe: NAPP: "Safely" including contact information in an email Pin
David Crow15-Sep-22 16:25
David Crow15-Sep-22 16:25 
GeneralRe: NAPP: "Safely" including contact information in an email Pin
maze315-Sep-22 22:48
professionalmaze315-Sep-22 22:48 
GeneralIn defense of messy code Pin
honey the codewitch15-Sep-22 0:03
mvahoney the codewitch15-Sep-22 0:03 
I found myself in the uncomfortable position of defending someone else's messy code recently.

It was for a Truetype engine for games, designed for a PC but I adapted it to run on IoT devices.

It's a single header library, which makes it nice, but it's unintelligible.

Part of the problem is TTF is an extremely unwieldy format and things get weird fast. This header handles that and the rendering in an amazingly small footprint.

It's also actively maintained and that's the sticker for me.

Avoiding sanitizing the code allows me to more easily backport updates into my adaptation the more the code is the same as the original.

Your thoughts?

For reference, here's the file after I got done modifying it to stream. lvgl/stb_truetype_htcw.h at master · codewitch-honey-crisis/lvgl · GitHub[^]
To err is human. Fortune favors the monsters.

GeneralRe: In defense of messy code Pin
megaadam15-Sep-22 0:45
professionalmegaadam15-Sep-22 0:45 
GeneralRe: In defense of messy code Pin
honey the codewitch15-Sep-22 1:10
mvahoney the codewitch15-Sep-22 1:10 
GeneralRe: In defense of messy code Pin
Greg Utas15-Sep-22 1:28
professionalGreg Utas15-Sep-22 1:28 
GeneralWSO CCC OTD 15-Sep-2022 [updated] Pin
DerekT-P14-Sep-22 22:09
professionalDerekT-P14-Sep-22 22:09 
GeneralRe: WSO CCC OTD 15-Sep-2022 Pin
pkfox14-Sep-22 23:06
professionalpkfox14-Sep-22 23:06 
GeneralRe: WSO CCC OTD 15-Sep-2022 Pin
OriginalGriff14-Sep-22 23:09
mveOriginalGriff14-Sep-22 23:09 
GeneralRe: WSO CCC OTD 15-Sep-2022 Pin
pkfox14-Sep-22 23:18
professionalpkfox14-Sep-22 23:18 
GeneralRe: WSO CCC OTD 15-Sep-2022 [updated] Pin
Rich Leyshon14-Sep-22 23:49
Rich Leyshon14-Sep-22 23:49 
GeneralRe: WSO CCC OTD 15-Sep-2022 [updated] Pin
pkfox15-Sep-22 0:05
professionalpkfox15-Sep-22 0:05 
GeneralRe: WSO CCC OTD 15-Sep-2022 [updated] Pin
Rich Leyshon15-Sep-22 0:10
Rich Leyshon15-Sep-22 0:10 
GeneralRe: WSO CCC OTD 15-Sep-2022 [updated] Pin
pkfox15-Sep-22 0:16
professionalpkfox15-Sep-22 0:16 
GeneralRe: WSO CCC OTD 15-Sep-2022 [updated] Pin
DerekT-P15-Sep-22 0:25
professionalDerekT-P15-Sep-22 0:25 
GeneralRe: WSO CCC OTD 15-Sep-2022 [updated] Pin
pkfox15-Sep-22 2:10
professionalpkfox15-Sep-22 2:10 
GeneralWordle 453 Pin
Vivi Chellappa14-Sep-22 8:46
professionalVivi Chellappa14-Sep-22 8:46 
GeneralRe: Wordle 453 Pin
Eddy Vluggen14-Sep-22 10:58
professionalEddy Vluggen14-Sep-22 10:58 
GeneralRe: Wordle 453 Pin
Peter_in_278014-Sep-22 12:06
professionalPeter_in_278014-Sep-22 12:06 
GeneralRe: Wordle 453 Pin
StarNamer@work14-Sep-22 13:16
professionalStarNamer@work14-Sep-22 13:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.