Skip to content

Comment on Cello – Higher Level Programming in C

Comments

The syntax is rather reminiscent of jQuery... and just like how that has created jQuery developers who know next to no JavaScript, I could envision many Cello developers who know almost no C which given the characteristics of the language would probably be an even bigger problem. It's good that they have a disclaimer saying that this isn't for those who don't already know C.

I think it's more like a framework than a library, based solely on the principle that it basically encourages a completely different syntax and code style that someone else would have to learn in addition to C in order to work with code written using it.

I'd say it's more reminiscent of Python, sans the dollar signs.

I feel that calling it a framework is really pushing it. C is such a simple language, and things like the GNU C extensions and the macros the Linux kernel provide offer some similar semantics, particularly when dealing with linear data structures. Not to mention, when dealing with POSIX, your coding style completely changes to fit what it gives you.

C is a simple language if you ignore all the traps, pitfalls, gotcha's, corner cases, and exceptions to the rules.

By that measure, maybe Brainfuck is a simple language too. But I wouldn't want to actually program in it when there are so many sane alternatives available.

C is a simple language if you ignore all the traps, pitfalls, gotcha's, corner cases, and exceptions to the rules.

Yes, and no. If you're sticking with just raw C and the standard libraries, it's a simple language. That doesn't mean your program will be simple, however - security concerns alone ramp up the complexity by orders of magnitude. But at its core, it is a simple language with mostly simple rules.

C is a simple language when you compare it to C++. Especially if you need nailed down standards-compliant behavior.

bf would actually be easily bareable, if it had textual macros, include/packaging and standard defines, like C does.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.