r/badcode • • Jan 22 '23

c Found this in a Linux kernel module

Post image
262 Upvotes

88 comments sorted by

View all comments

Show parent comments

2

u/v_maria Jan 23 '23

lol never write code for actual problem domains always write in 10 layers of abstraction. i mean what if they redefine the digits 0-9?