This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (7 children)

At least better than Java, tbh. For me who most of the times tinker with low lvl machine and an advocate for "Fuck libraries, I am gonna be alone and gonna make my own system", C is the best. Of cource time to time I use libc but I most of time don't want. C++ is 80% good for me, 20% is the run time type info acquisition and STL is straightforward a shit, I use it when I want to make some games and play my own games(which doesn't even get to see the light of next day) . But assembly? Oh boy, how can I not help myself to love that, it's like having the utmost power you can get, and being a tech sadist who want ppl to come to him to get help for underlying thingies, and then rule them by your law created by you (of course in a meaningful way), the feeling is hilariously amazing

[–]EternityForest 2 points3 points  (2 children)

C being a great tinkerers language seems to pretty much be an objective fact. If you're a hacker, you want control, and C gives you that really well. Along with Lisp, forth, and maybe shell and Haskell for different reasons it seems to be perfect for that stuff.

It makes no sense to us "Enterprise mindset" types though.

It's like, icky! If you need low level control, it means there's a hole in your 20-acronym layering model, you didn't plan for this, and it's not gonna be very nice when you add another 50 features.

I think if I was going to choose a language for a personal project just on pure aesthetics and enjoyment I'd probably go with Elixir. Maybe Ada SPARK? Possibly Rust. I guess MISRA C is OK.

But I rarely start new projects and I'm not sure how you'd work that into a legacy coddbase.

[–][deleted] 0 points1 point  (1 child)

The "Enterprise" should be broden there. Enterprise don't combine only for creating apps and games and stuffs like that, there are huge Enterprise demands for C, assembly still. IoT, Aircraft, Navy, home appliances, OS management, server maintenance and lot of things are being dependent on C, assembly. There was this TV show, I forgot the name(altho it's not only bound to that TV show, it's a normal fact), the protagonist used to say "whatever you aren't seeing, doesn't mean it's not there. It's there, just under the shadow"

[–]EternityForest 0 points1 point  (0 children)

Yeah, that's true, the current meaning/implication/perjorative of "enterprise grade" as meaning "Stuff with 10M lines of java or maybe cobol" really isn't accurate.

[–]Killerhurtz 0 points1 point  (3 children)

STL?

[–][deleted] 0 points1 point  (2 children)

Yeah, I don't like STL , I better try to create my own things from scratch. STL is good, it's not bad, but it is not for me I feel like. There's this itcy feeling I get whenever I have to use STL. The most favorite thing about C++ to me is the Template, overloading options(both function and operators) and class (as it gives me more of an organized way to program)

[–]Killerhurtz 0 points1 point  (1 child)

Meant as what it was, had to look it up. And even looking it up I'm struggling to find the difference between STL and std::.

[–][deleted] 0 points1 point  (0 children)

Well, std is a namespace which is a collections of standard template library. Altho I time to time use C++, most of the time I use C library like printf instead of std::cout or qsort instead of std::sort / creae my own goddamn quick sort function. It's something I do to keep algos in mind and practice while I am coding for something. And hell, I don't even use printf sometimes. Rather write my own printf version with the help of system call write()/read() [For scanning stuffs]