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

@bl_r@beehaw.org
link
fedilink
English
61Y

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

PenguinCoder
creator
link
fedilink
English
21Y

Same. It’s not a perfect language, far from such. It is simple but not easy. I too believe it helps with understanding exactly what the code is doing via being lower level.

@Hexorg@beehaw.org
mod
link
fedilink
English
11Y

JavaScript is much much higher level than C, but there are vulnerability announcements in npm all the time. C does, however, let you implement more kinds of vulnerabilities associated with memory handling.

@livendie@beehaw.org
link
fedilink
English
11Y

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

@bl_r@beehaw.org
link
fedilink
English
11Y

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.

Create a post

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.

  • 1 user online
  • 2 users / day
  • 2 users / week
  • 8 users / month
  • 98 users / 6 months
  • 1 subscriber
  • 302 Posts
  • 2.15K Comments
  • Modlog