git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[OT] Re: C++ *for Git*

From
Kyle Rose <krose@krose.org>
Date
Sep 22, 2007, 18:25 UTC
Message-ID
<46F55E03.2040404@krose.org>
In-Reply-To
<877imishdp.fsf@catnip.gol.com>
Miles Bader wrote:
> Of course, some of the most horrid unreadable source code I've ever seen
> is in one of git's competitors -- written in python....
Indeed. :-)

At the office, people constantly badmouth Perl, which has some admittedly evil syntax (especially around exception handling). My view is that good Perl programmers can produce good, readable, maintainable Perl programs, while bad Perl programmers can produce spaghetti the likes of which can't be found outside Italy.

OTOH, I think it is much harder to hang one's self with Python, though admittedly possible, as it is when you combine a bad coder with *any* language. Still, typical bad programmer + Perl is much worse than typical bad programmer + Python.

C++ is in the same category as Perl IMO: too easy to produce unreadable code. I contend that C is pretty much just as bad, though in a different way: while C lacks C++'s ability to bury code in multiple layers of opaque abstractions, C makes up for it by providing absolutely no GC-type structures (i.e., I do this now, you clean it up later when I'm no longer interested in it). C is all explicit, which is nice when you have a good handle on everything that is going on *or* an explicit system for remembering to do those types of cleanup tasks that is well-understood by all developers involved.

I like Ruby, except for the performance problems. Once they have those worked out, Ruby will be "Perl done right." ;-)

Kyle
Previous: Miles BaderNext: David Kastrup
Message 8 of 34 in “C++ *for Git*”
  1. Dmitry KakurinSep 22, 2007
  2. David KastrupSep 22, 2007
  3. Johannes SchindelinSep 22, 2007
  4. Marco CostalbaSep 22, 2007
  5. Dmitry KakurinSep 23, 2007
  6. Kyle RoseSep 22, 2007
  7. Miles BaderSep 22, 2007
  8. [OT] Re: C++ *for Git*Kyle Rose, Sep 22, 2007
  9. David KastrupSep 22, 2007
  10. Alex UnleashedSep 22, 2007
  11. Frank LichtenheldSep 23, 2007
  12. David BrownSep 23, 2007
  13. David KastrupSep 23, 2007
  14. Marco CostalbaSep 23, 2007
  15. David KastrupSep 23, 2007
  16. Marco CostalbaSep 23, 2007
  17. Pierre HabouzitSep 23, 2007
  18. Marco CostalbaSep 23, 2007
  19. Nicolas PitreSep 23, 2007
  20. Marco CostalbaSep 23, 2007
  21. David KastrupSep 23, 2007
  22. Marco CostalbaSep 23, 2007
  23. Paul FranzSep 23, 2007
  24. Linus TorvaldsSep 23, 2007
  25. Marco CostalbaSep 23, 2007
  26. David KastrupSep 23, 2007
  27. Marco CostalbaSep 23, 2007
  28. David KastrupSep 23, 2007
  29. Dmitry PotapovSep 23, 2007
  30. David KastrupSep 23, 2007
  31. Robin RosenbergSep 23, 2007
  32. Reece DunnSep 23, 2007
  33. Dmitry PotapovSep 24, 2007
  34. Martin LanghoffSep 22, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.