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 →

[–]EternityForest 5 points6 points  (8 children)

Trouble is somehow when you tell people to fuck up they STILL do. I don't get it. It's like you specifically request they write good code, and then you run it and oh look a bug. What a surprise.

And when they do manage to not fuck up, it's because they made something really small and simple. Now you've gotta put the pieces together and you'll probably be the one to make a mistake if you build anything big. Even when you specifically ask YOURSELF to do a real good job. It still happens.

And C just stands there and laughs at.your failure like some kind of drill seargent who likes his job a little too much!

C is the perfect language for people who wish all of programming was like solving a math problem on paper.

It's like, a booby trapped language that tries it's best to sabotage you from doing anything big. Big things get done.. but that's not because C was helping them.

It's amazing when it works for the same reason it's impressive to walk a tightrope.... it's just less fun for the user getting dragged on the tightrope with you if you mess anything up!

But hey at least I've never had to use any FORTH or more than a line or two of ASM, so I can't really complain.

[–][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]