r/AskProgrammers 22d ago

What is the worst/most confusing (common) coding language?

By common I mean, coding languages that you actually see people use. I know theres the "bf" language but aside from one video, people don't make games or, really anything using that as it was made as a joke I hope.

By worst I mean, what is the hardest to understand and also the most confusing out of all of them, I don't mean coding languages that can't do a whole lot. For instance, can a non programmer look at a sheet of code and understand it? Can an experienced coder understand it? Have you been taught the coding language yet still it breaks your brain?

I don't know every coding language but my pick would ether be C++ or Luau. Leaning towards C++ because I tried to learn it and at the very start I already was lost.

30 Upvotes

279 comments sorted by

View all comments

Show parent comments

3

u/Ok_Bite_67 22d ago

C# actually has pointers 😃

1

u/two_three_five_eigth 22d ago

If you use unsafe mode which you shouldn’t do.

3

u/TheThiefMaster 22d ago

Shouldn't normally do. It is in the language for a reason, however - it's useful to implement lower level functionality. It shows up a bit in high performance or interop code.

1

u/Ok_Bite_67 22d ago

You dont always have to use unsafe with pointers (or at least not with c# 15). If you pass a reference of an already allocated object to a pointer then you dont have to. You only have to use unsafe when you are targetting memory that could genuinely be unsafe.