this post was submitted on 18 Jul 2023
19 points (100.0% liked)

Programming

13371 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

C is an old language lacking many, many, many modern features. One of the features it does not lack is encapsulation and isolation.

you are viewing a single comment's thread
view the rest of the comments
[–] bl_r@beehaw.org 6 points 1 year ago (4 children)

I have a love hate relationship with C. I love the simplicity of the language. Although it is simpler, it is certainly possible to emulate many features found in other languages like the encapsulation, though rarely perfectly, and not every feature.

I also like C because I am dealing with code at a lower level leads me to having a much better understanding of what is happening under the hood. However, this lower level access allows you to accidentally write bad code that could introduce a vulnerability

[–] livendie@beehaw.org 2 points 1 year ago (1 children)

Using C is a great way to learn some discipline, your given so much control.

[–] bl_r@beehaw.org 1 points 1 year ago

Shooting yourself in the foot is a great way to learn discipline. It is how I learned to be careful of what I am writing. However, I think in most cases a memory safe language could be better.

load more comments (2 replies)