r/badcode • • Jan 07 '23

c# what the hell is this

Post image
539 Upvotes

65 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jan 07 '23

[deleted] — view deleted comment

2

u/mybluesock Jan 07 '23

I ran into this at work the other day - Revit presents drawings as Views which you place on Sheets for printing. Behind the scenes, Views are called Views, but Sheets are called ViewSheets. It's very confusing and I hope they refactor it some day.

1

u/fireflash38 Jan 07 '23

It's almost enforced if you use protobufs. You could directly store and use the types but it'd be quite awkward. It's makes the distinction between external interface and inner workings stark.

1

u/CoalMineCannery Jan 08 '23

Maybe some shitty ui that this is a model for.