Tom Ritchford
Nov 16, 2022

--

It's a much harder language to use than Python. Simply being able to experiment in the REPL is such a boon.

There are all these powerful modules built-in. You don't have to worry about memory management.

I mean, imagine you need to read, change and write a JSON file. In Python, it's a couple of lines with no hair at all.

import json

d = json.load(open(filename))
d['one']['two'] += '_suffix'
json.dump(d, open(filename, 'w'))

How much work would it be to do this in C?

--

--

Responses (1)