Blåhaj Lemmy - Choose Your Interface

When I was in my 101 comp sci classes, one of my professors would say, “A function is meant to do one thing. So if your function doesn’t fit on the monitor in it’s entirety, that is a good indication your function is probably too complicated and/or doing too many things. Either simplify it or break it down further.” And that’s a rule I usually try to live by with my professional work too. So, anyway… I want to see the 4000k monitor this guy is using.

I personally go by the monocre that if it’s something important, it’d be all on one file as not to lose the train of thought when debugging it.

As jumping around between files

tends to break up thought lines

also, the compiler likes it better when there’s layers

I said function, not file. You can have 40 functions in one file.
oh yeah, that’s fair.