Better HN
topnewbestaskshowjobs
Log inSign up

badlukk

2 karma · joined Jul 30, 2018 (8y ago) · 2 submissions

Submissions

comment 4y ago · link · parent

Look into Graham Hancock, he writes a lot about possible lost civilizations. He gets lots of hate and I have no idea if any of it is true, but super fun to read.

comment 8y ago · link · parent

C functions shouldn't change behavior based on state, they do the same thing every time. Instead of changing a particular global variable, any variable of that type should be passed in and changed, then returned. It's good programming advice for functional languages. In OO it makes sense to make state changes in object methods, but not usually the best functional approach.