Thread 937435162 - /b/ [Archived: 166 hours ago]

Anonymous
7/22/2025, 10:25:04 AM No.937435162
61z3p8yR1vL._UF1000,1000_QL80_
61z3p8yR1vL._UF1000,1000_QL80_
md5: 9607df779a908a393ef2115a4eb8a5dc๐Ÿ”
I decided to learn c instead of c++. Was this a mistake?
Replies: >>937435186 >>937435260 >>937435275 >>937435321 >>937435372 >>937437529 >>937437721 >>937438091 >>937438523 >>937439970 >>937440000 >>937440915 >>937441863 >>937444190 >>937449273
Anonymous
7/22/2025, 10:26:39 AM No.937435186
>>937435162 (OP)
they're the same thing, c++ is just newer. a lot of the same principles carry over to both c# and c++ but you will need to learn the nuances between them.
Replies: >>937435209 >>937435260 >>937435321 >>937435326 >>937439698 >>937441736
Anonymous
7/22/2025, 10:28:15 AM No.937435209
>>937435186
no coder
Replies: >>937438238
Anonymous
7/22/2025, 10:28:18 AM No.937435211
No. C++ is a mutant abomination of C.
Replies: >>937441832
Anonymous
7/22/2025, 10:28:28 AM No.937435214
if you want to get a job you need to know python and php, basically.
Anonymous
7/22/2025, 10:30:41 AM No.937435260
>>937435186
they are absolutely not the same thing
>>937435162 (OP)
learn modern C++, at least C++11 or 17 first
Replies: >>937438238
Anonymous
7/22/2025, 10:31:23 AM No.937435275
>>937435162 (OP)
No
Anonymous
7/22/2025, 10:33:30 AM No.937435321
>>937435162 (OP)
No, it was the right decision. C++ is lunacy.
>>937435186
>they're the same thing, c++ is just newer
someone who has no clue
Replies: >>937438238 >>937441832
Anonymous
7/22/2025, 10:33:38 AM No.937435326
>>937435186
C++ is C if it were smeared in shit and slower.
Replies: >>937438238
Anonymous
7/22/2025, 10:36:49 AM No.937435372
>>937435162 (OP)
C, is great to learn for fundamentals, honestly unless there is a specific job you want, there is really no point in learning C++, it's on it's way out in favor of safer languages like zig or rust.
Replies: >>937435926
Anonymous
7/22/2025, 11:11:31 AM No.937435926
>>937435372
my uncle is a java developer
Anonymous
7/22/2025, 11:14:57 AM No.937435961
g-side
g-side
md5: 9a1b12760e7b900284671e56d5f7da0a๐Ÿ”
agree?
Anonymous
7/22/2025, 11:15:30 AM No.937435973
3d2
3d2
md5: 5fbeb84932e1023ab584a4423a290b4d๐Ÿ”
>when you get bored of baiting fa/g/gots so you post the same language flame war shit on /b/
Replies: >>937438184 >>937451899
Anonymous
7/22/2025, 12:58:09 PM No.937437529
>>937435162 (OP)
what do you mean? c is the best language there is.
Anonymous
7/22/2025, 1:08:07 PM No.937437721
>>937435162 (OP)
No. Learning C++ is not particularly hard if you know C, since there is significant overlap (C++ is not a strict superset of C, but it is close enough). What you're missing are the abstractions, which are better understood once you know what C code they are meant to replace and why.

A good C++ programmer should also be able to write pure C if need be, and should know some of the nuances of what parts of C are invalid C++.
Anonymous
7/22/2025, 1:27:59 PM No.937438091
BEGONE FOUL OP
BEGONE FOUL OP
md5: ea6e6b7e30cedbec02577b52c52751bd๐Ÿ”
>>937435162 (OP)
>I decided to learn c instead of c++. Was this a mistake?

Yes it is. Worse, it undermined democracy. What is wrong with you? You bad person, you.
Anonymous
7/22/2025, 1:33:17 PM No.937438184
>>937435973
Why the fuck would you complain about any posts on this board, when very literally over 90% of it, at any given time, is just political dogwhistles made by bots, or literal coomer porn threads.

The fact that somebody made a post on this godforsaken shitstain deadend board, for anything that isn't those two things, should be fucking celebrated.

Fuck yourself.
Replies: >>937451899
Anonymous
7/22/2025, 1:35:46 PM No.937438238
>>937435326
>>937435321
>>937435260
>>937435209
>they're not the same
>b-because I said so, ok?
>no, I can't explain why
Anonymous
7/22/2025, 1:52:06 PM No.937438523
oop
oop
md5: 7d1c46c26529348eb159c4682f5710b6๐Ÿ”
>>937435162 (OP)
C++ is technically a superset of C, so in a way you're already learning C++. If you changed the file extensions of your source files to .cpp instead of .c and compiled with a C++ compiler instead of a C compiler it'd be pretty much 100% compatible.n4kyx
Replies: >>937451899 >>937453086
Anonymous
7/22/2025, 3:03:17 PM No.937439698
>>937435186
Programming, Motherfucker!
https://programming-motherfucker.com/

Not everything requires an object based languages. If you know what youโ€™re doing you CAN use both for the same thing but itโ€™s more work creating virtual instances of things in C.

Ideally you would be able to pare down the program to the bare essentials and add features in a way that didnโ€™t require objects.

Do people write device drivers in C++ maybe but why???
Anonymous
7/22/2025, 3:14:57 PM No.937439970
>>937435162 (OP)
>Was this a mistake?
no. It doesn't matter. You can learn them in either order. C is easier to learn, generally, since it is a smaller language.
Replies: >>937441832
Anonymous
7/22/2025, 3:16:06 PM No.937440000
>>937435162 (OP)
Nah, C++ is a confused mess of random OOP shit. C is a much cleaner language.
Replies: >>937441832
Anonymous
7/22/2025, 3:42:56 PM No.937440589
kinda, C won't teach you the modern way of coding which is using Objects and Classes. But it will teach you about pointers and memory management so that's a good thing.
Replies: >>937440941
Anonymous
7/22/2025, 4:01:27 PM No.937440915
>>937435162 (OP)
>Was this a mistake?
only if you want to be hired by a tech company
Replies: >>937440946
Anonymous
7/22/2025, 4:03:05 PM No.937440941
>>937440589
Objects and classes are the 90's/2000's way of doing things. Now it's all about functional programming.
Replies: >>937441033
Anonymous
7/22/2025, 4:03:11 PM No.937440946
>>937440915
*that develops as teams
Anonymous
7/22/2025, 4:05:36 PM No.937441033
1740932651219413
1740932651219413
md5: 165cbd2cc5354d056b1ec794bf2bb2a2๐Ÿ”
>>937440941
> t. not a programmer just some guy that watches youtube videos about programming.
Replies: >>937441075
Anonymous
7/22/2025, 4:07:26 PM No.937441075
>>937441033
I've been coding since 2003. Try again.
Anonymous
7/22/2025, 4:28:07 PM No.937441542
physicist, not a developer
maybe 6 months to a year ago the developers in my company were all hot about Rust as the next big thing.
Never hear about it now. Just another flash in the pan?
Anonymous
7/22/2025, 4:34:39 PM No.937441736
>>937435186
Son...
Anonymous
7/22/2025, 4:37:57 PM No.937441832
1649103550070
1649103550070
md5: 4302506e3acb8dd827cb8fcd0d3e78b4๐Ÿ”
>>937435211
>>937435321
>>937439970
>>937440000

I concur with this.
Start with C it will give a good grasp of the fundamentals such as variables, data types, functions, pointers, structs, memory management, which will carry over if you still want to explore C++. C++ has become a bloated convoluted mess.

>fuck auto
>fuck templates
Replies: >>937442469 >>937447187
Anonymous
7/22/2025, 4:39:08 PM No.937441863
>>937435162 (OP)
Unironically a book called "the joy of C", plus learning x86 assembly at the time put me in a good place.
Anonymous
7/22/2025, 4:59:05 PM No.937442469
>>937441832
C has auto sir
Replies: >>937442645 >>937442716
Anonymous
7/22/2025, 5:04:27 PM No.937442645
>>937442469
I know what I said
Anonymous
7/22/2025, 5:07:06 PM No.937442716
>>937442469
it's not the same thing in c and c++, saar. go back to watching indian youtube videos about coding to learn more.
Anonymous
7/22/2025, 5:52:37 PM No.937444190
>>937435162 (OP)
just add c-- and you have c again
Anonymous
7/22/2025, 7:20:45 PM No.937447187
>>937441832
oh don't misinterpret, C is one of the worst languages for large projects. Absolutely heinous. Most of the people who like C are shitty programmers or pretentious neckbeards. But it is also fine to learn and useful to understand.
Replies: >>937448960 >>937449308
Anonymous
7/22/2025, 8:14:35 PM No.937448960
>>937447187
>for large projects
because it lacks what? OOP?
you can do OOP, without the lunacy of inheritance, in C. it just requires you to implement a pattern that the language doesn't already give you.
Anonymous
7/22/2025, 8:23:12 PM No.937449273
>>937435162 (OP)
Learning C is a weekend project. The language is dead simple, with all of the drawbacks and benefits of this fact.
Anonymous
7/22/2025, 8:24:06 PM No.937449308
1740271761723582
1740271761723582
md5: aefdf21433fbcc6a9aaf490fb4ee0efa๐Ÿ”
>>937447187
> C is one of the worst languages for large projects
you're an actual idiot. one obvious example of a large project that is getting along fine: the linux has over 40 million lines of code, the vast majority of which is written in c. go back to your advanced python hacking, dumbass.
Anonymous
7/22/2025, 9:32:09 PM No.937451899
1660863865604067
1660863865604067
md5: e71974b33b404fc6eaf58b66c444c269๐Ÿ”
>>937438184
>>937435973
>yes I'm being a faggot here because I wasn't getting enough attention posting these threads on /g/, but it's better than the porn bots I made before!!!
absolute cancer
>>937438523
Only non-autistic answer
Anonymous
7/22/2025, 10:02:00 PM No.937453086
>>937438523
> C++ is technically a superset of C
wrong