|
|
|
|
|
by ggchappell
5770 days ago
|
|
> ... Python can be (or at least feel) less succinct than even C .... That's an interesting statement. Certainly, Python can be less succinct than Perl, particularly for small scripts where a quick "while(<>) {" and a regexp get most of your work done. But C?? > ... if you do lots of low-level file system stuff with close error checking. Hmmm. In my experience, C's I/O libraries tend to make error checking something we leave by the wayside. Is there any chance that the real reason your Python scripts are longer, is that you actually check for, and properly handle, the errors there, while in C, you often don't? In any case, I'll echo a comment from aidenn0: > It would be nice if you could provide an example of something you think is inelegant and/or awkward in Python so that we could figure out which direction to point you. |
|