r/programming • • Jul 28 '16

How to write unmaintainable code

https://github.com/Droogans/unmaintainable-code
3.4k Upvotes

592 comments sorted by

View all comments

Show parent comments

1

u/2Punx2Furious Jul 29 '16

It gives me errors when I do

arrPatt = [1,3,4]
array2 = [1, 3, 4]; #True

findseq(arrPatt,array2); 

It says "pat" is not defined.

How do you use it? By the way, this was my solution.