Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #165505
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Newsgroups | comp.lang.c, comp.lang.c++ |
| Subject | Re: A love of languages |
| Date | 2022-03-31 10:29 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <t23oph$ble$1@dont-email.me> (permalink) |
| References | <t1q227$14hc0$1@paganini.bofh.team> <t1tf5k$1smm$1@gioia.aioe.org> <t22g0k$hi4$1@dont-email.me> |
Cross-posted to 2 groups.
On 30/03/2022 22:53, Vir Campestris wrote: > On 29/03/2022 00:08, Juha Nieminen wrote: >> From a career point of view it's an interesting question whether it's >> better that you are a top expert on two programming languages (that >> are useful in your field of work), or having moderate knowledge of >> twenty languages. >> >> For example, if you are a frontend web developer, it's quite >> unlikely you would ever need a deep knowledge of C or C++ >> (or any knowledge at all for that matter). Likewise if you are an >> embedded developer it's unlikely you'll ever need any knowledge >> of Javascript or Haxe. >> >> Perhaps the only language that's truly universal (in the sense that it's >> shoved absolutely*everywhere*, be it a good choice or not) is Python. > > I'm embedded these days, and I mostly use C and C++. I've written > Assembler on I don't-know-how-many architectures (I'm read-only on > ARM!(. Pascal would probably come back in minutes, and I don't think > Fortran would take a lot longer. If you asked me to refresh my APL I'd > just refuse... there are others. Does Make count? > > But I've never learned Python. Perhaps I should. > Python is a useful language to learn. I find that I use it for most of my PC and server programming. It has its disadvantages compared to C++ - the dynamic features of the language mean you don't get the kind of compile-time checks that you have in a static language, and of course it is slower if you are doing heavy processor work. But it is /vastly/ simpler to work with for string processing, anything involving networking, databases, etc. Your source code is usually a fraction of the size - it has a very different "programmer efficiency" vs. "run-time efficiency" balance than C++. For small and simple programs and scripts, it is extremely handy - I have little Python programs that run on PC's, servers, Raspberry Pi's, etc. Many of my embedded C and C++ projects have Python scripts in their make process for generating update files with CRC checks and other data, or for pre-processing data files (images, web pages, etc.) into data arrays to link into the program. There is plenty not to like about Python - Python 2 and Python 3 incompatibilities can be a pain, and mixups between tabs and spaces can drive you crazy. But I've yet to find the "perfect" programming language for all purposes. Python does not at all replace C or C++, but it is a useful complement (in my experience).
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A love of languages Jack Lemmon <invalid@invalid.net> - 2022-03-27 17:00 +0100
Re: A love of languages Bonita Montero <Bonita.Montero@gmail.com> - 2022-03-27 18:24 +0200
Re: A love of languages Juha Nieminen <nospam@thanks.invalid> - 2022-03-28 23:08 +0000
Re: A love of languages Vir Campestris <vir.campestris@invalid.invalid> - 2022-03-30 21:53 +0100
Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-03-31 10:29 +0200
Re: A love of languages Mateusz Viste <mateusz@xyz.invalid> - 2022-03-31 10:52 +0200
Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-03-31 11:59 +0200
Re: A love of languages Kaz Kylheku <480-992-1380@kylheku.com> - 2022-03-31 16:15 +0000
Re: A love of languages Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2022-03-31 09:06 -0700
Re: A love of languages Muttley@dastardlyhq.com - 2022-03-31 08:29 +0000
Re: A love of languages Juha Nieminen <nospam@thanks.invalid> - 2022-04-04 06:00 +0000
Re: A love of languages Muttley@dastardlyhq.com - 2022-04-04 08:28 +0000
Re: A love of languages Vir Campestris <vir.campestris@invalid.invalid> - 2022-04-05 21:10 +0100
Re: A love of languages red floyd <no.spam.here@its.invalid> - 2022-04-05 13:28 -0700
Re: A love of languages om@iki.fi (Otto J. Makela) - 2022-04-11 13:24 -0400
Re: A love of languages om@iki.fi (Otto J. Makela) - 2022-04-11 19:13 -0400
Re: A love of languages legalize+jeeves@mail.xmission.com (Richard) - 2022-04-06 22:18 +0000
Re: A love of languages Muttley@dastardlyhq.com - 2022-04-07 09:02 +0000
Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-04-07 11:24 +0200
Re: A love of languages Muttley@dastardlyhq.com - 2022-04-07 09:42 +0000
Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-04-07 12:02 +0200
Re: A love of languages Christian Gollwitzer <auriocus@gmx.de> - 2022-04-07 21:54 +0200
Re: A love of languages Muttley@dastardlyhq.com - 2022-04-08 10:49 +0000
Re: A love of languages Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2022-04-08 05:21 -0700
Re: A love of languages Juha Nieminen <nospam@thanks.invalid> - 2022-04-08 12:16 +0000
Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-04-08 15:08 +0200
Re: A love of languages Bart <bc@freeuk.com> - 2022-04-08 15:31 +0100
Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-04-08 18:15 +0200
Re: A love of languages Bart <bc@freeuk.com> - 2022-04-08 19:14 +0100
Re: A love of languages scott@slp53.sl.home (Scott Lurndal) - 2022-04-08 14:53 +0000
Re: A love of languages David Brown <david.brown@hesbynett.no> - 2022-04-08 18:18 +0200
Re: A love of languages scott@slp53.sl.home (Scott Lurndal) - 2022-04-08 17:47 +0000
Re: A love of languages Muttley@dastardlyhq.com - 2022-04-09 09:13 +0000
Re: A love of languages scott@slp53.sl.home (Scott Lurndal) - 2022-04-08 14:51 +0000
Re: A love of languages Michael S <already5chosen@yahoo.com> - 2022-04-16 13:39 -0700
Re: A love of languages Jorgen Grahn <grahn+nntp@snipabacken.se> - 2022-04-11 08:28 +0000
Re: A love of languages legalize+jeeves@mail.xmission.com (Richard) - 2022-04-07 20:54 +0000
csiph-web