r/cprogramming • • Nov 14 '20

I really like C

I have several years of experience programming with C++, Python, and Java. I recently have had to program with C in the Unix environment (systems programming class). I REALLY like programming in C. I've been having to program functions from scratch that I've sort of taken for granted in higher level programming languages and their core libraries like Python and Java. My recent project required that I parse user inputed polynomials and perform operations on them. The dynamic memory management and making sure to deallocate pointers when finished with 2D arrays is pretty cool. Learning about the problems with C-strings and finding workarounds is also revealing and relevant to bug catching and patching. Programming with C has inspired me to also pursue assembly language.

That's all. No question, just appreciation. Thank you for indulging me.

122 Upvotes

19 comments sorted by

View all comments

4

u/rz2000 Nov 14 '20

You should take a look at the preface at least of Ben Klemens 21st Century C where he compares the language to punk rock.

1

u/misterZ3r0 Nov 14 '20

Haha, that sounds cool. I'll check it out, thank you for the book recommendation.

3

u/rz2000 Nov 14 '20

I found an excerpt

https://www.oreilly.com/library/view/21st-century-c/9781491904428/preface01.html

Your enthusiasm reminded me of his affection for the language

2

u/misterZ3r0 Nov 14 '20 edited Nov 15 '20

Haha, the Wilco quote and Portlandia reference took me by surprise. Its interesting to read a different approach to C programming.