News for hackers. Stuff that matters.
Re:Show HN: Hire an Oldster by flukus on Friday December 16, 2016 @06:10PM (#13197746)
I've got a year on you and I think I'd agree that OO is snake oil. The worst code bases I've ever seen (and I've seen some horrors) have been from over used inheritance and mixing logic and data. Provided you avoid global state (also a problem with OO) I think a c program would be more understandable than a lot of java/c# ones.

Not to say there aren't useful features, that would go well with a language like c, like interfaces, but I'd love to get rid of inheritance, encapsulation and mixing data and code.

Re:Show HN: Hire an Oldster by digler999 on Friday December 16, 2016 @07:16PM (#13198123)
it could very well be snake oil, but I make a living doing it (or at least knowing how to answer C++ questions during interviews. many of my jobs were advertised as SE but really dont require much actual coding (to my frustration)) and I actually enjoy C++.

Personally, I think both java and javascript (yes I know they are entirely separate languages ) are snake oil. But you know, I learned to program in them anyway.

I tried to find a happy medium where I learn about a new technology and see if it sticks. If after 3-5 years its still around, I give it a try. This worked for me for javascript and python. When python first came out (or when I first heard of it ) I said "no way, not learning a new language right now. perl works fine as a scripting language". Then year after year I kept hearing about it, and heard about perl less and less. Then I finally tried it.

But a couple years ago, I kept hearing about "coffee script" and "clojure". I said the same thing, "not touching it". And now, I hardly ever hear about them, and I barely even know what they are.

Re:Show HN: Hire an Oldster by tigershark on Friday December 16, 2016 @06:57PM (#13198006)
From what you are saying I guess you have never been in an OO project but you just worked in the "cold hell" of procedOOral code, the worst mix of copy and paste, overblown inheritance and singletons. I experienced a lot of it in my career, nowadays I am more oriented towards the functional world, but saying that OO is completely useless and even dangerous is an outright lie. The most awful codebases on which I worked on would have been quite nice applying the OO best practices. Sadly they where far too big to be changed by the concerted effort of a couple of people. And they were full of anti-patterns. Even loving the type safety of F# and Haskell I can't honestly say that OO is an anti-pattern per se. What it matters is not the size of the hammer but how you use it. But I can rightfully proclaim that the wrong tools used for something that they were never meant for are the worst possible solution. EVER.
Re:Show HN: Hire an Oldster by flukus on Friday December 16, 2016 @07:00PM (#13198027)
I've spent 10+ years of my career working in OO languages, I'm no stranger to it and I've seen it used well. But we'll tends to be a subset of OO, with minimal inheritance and encapsulation with data and logic in seperate places.
Re:Show HN: Hire an Oldster by aaronblohowiak on Friday December 16, 2016 @09:41PM (#13198859)
You would probably enjoy Go, for the most part.
Re:Show HN: Hire an Oldster by flukus on Sunday December 18, 2016 @06:03PM (#13208250)
I've been thinking that. Rust is probably next on my list though.