r/badcode •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

17 comments sorted by

View all comments

Show parent comment

5

u/shitposting_alt Sep 29 '20

Probably not the best solution

are you sure you understand what the point of these challenges is?

3

u/[deleted] Sep 29 '20

Yes I do. Trust me, there are people out there who are way better Haskell programmers than I am, who could probably tighten this up into a much more elegant solution than this one. So from that standpoint, yeah this is bad code.

But I'm not making art for art's sake here.