- Overuse of 'auto' - 3 Updates
- Underuse of 'auto' - 4 Updates
- "C++ overtakes Java in language popularity index" - 5 Updates
| Andreas Dehmel <blackhole.8.zarquon42@spamgourmet.com>: Dec 10 02:48PM +0100 On Fri, 09 Dec 2022 20:47:33 +0000 > > pathetic attempt at hiding this simple fact. > If I read you correctly, you think that adding const means the auto is > almost always wrong. Is that your position? Like I wrote, my position is that adding _any_of_ "const", "*" or "&" to auto is doing it wrong. It's just trying to hide the fact that you actually want a specific type but are too lazy to write it down. And as a general aside, not just relating to "auto", in a language like C++ where you usually have a long maintenance window, the pains of the author are insignificant compared to the pains of the maintainer(s). Andreas |
| Christian Gollwitzer <auriocus@gmx.de>: Dec 10 04:29PM +0100 Am 08.12.22 um 13:31 schrieb Juha Nieminen: > it's a complete mystery what that return type is, and thus the reader > (ie. me) has no idea what it actually is, what it does, and how it's > used. My question to you: why do you need to know the type of foobar in thie - s case? Have you used dynamic languages like e.g. Python? THere the line would read: foobar = someFunction(a, b); This has never be a big problem when writing Python code. "someFunction" is a bad description of the return value, that is the problem here. You wouldn't have the same difficulty to read: auto x = concat("abc", "123"); or auto d = sqrt(x**2 + y**2); Christian |
| Ben Bacarisse <ben.usenet@bsb.me.uk>: Dec 10 09:52PM > Like I wrote, my position is that adding _any_of_ "const", "*" or "&" > to auto is doing it wrong. It's just trying to hide the fact that you > actually want a specific type but are too lazy to write it down. That strikes me as a very strange opinion, but is there any point in us (you and I) examining it? In my experience, investigating that sort of opinion, expressed in that style, is rarely fruitful. -- Ben. |
| Mr Flibble <flibble@reddwarf.jmc.corp>: Dec 10 03:15PM 'auto' is underused in C++: it should be considered awesome (not harmful). I wrote an article about it here: https://leighjohnston.wordpress.com/2014/10/13/new-c-auto-keyword- condsidered-awesome-not-harmful/ Message ends. /Flibble |
| Muttley@dastardlyhq.com: Dec 10 03:35PM On Sat, 10 Dec 2022 15:15:37 +0000 >https://leighjohnston.wordpress.com/2014/10/13/new-c-auto-keyword- >condsidered-awesome-not-harmful/ >Message ends. Looks like you haven't had any thoughts random or otherwise since 2019 which pretty much dovetails with your posts on here. It is a shame how covid affected some people. |
| Mr Flibble <flibble@reddwarf.jmc.corp>: Dec 10 09:13PM On Sat, 10 Dec 2022 15:35:43 +0000, Muttley wrote: > Looks like you haven't had any thoughts random or otherwise since 2019 > which pretty much dovetails with your posts on here. It is a shame how > covid affected some people. As far as I know I was never infected by COVID-19 and as far as I know you are a fucking idiot. I have multiple output streams of which Wordpress is bottom of the list as far as updates are concerned; I have been more active on Youtube than Wordpress of late. /Flibble |
| "Alf P. Steinbach" <alf.p.steinbach@gmail.com>: Dec 10 10:42PM +0100 On 10 Dec 2022 16:15, Mr Flibble wrote: > I wrote an article about it here: > https://leighjohnston.wordpress.com/2014/10/13/new-c-auto-keyword- > condsidered-awesome-not-harmful/ Interestingly the link works even though it's broken; Wordpress evidently goes to the closest match. Sort of like `cd some*` in Windows Cmd. Which I've never seen documented. - Alf |
| "Öö Tiib" <ootiib@hot.ee>: Dec 09 05:20PM -0800 On Friday, 9 December 2022 at 23:57:49 UTC+2, Chris M. Thomasson wrote: > > Actually, most of them run linux (android) with a application layer api (Dalvik) > > that provides similar functionality to Java. Or they run IOS. > How many of them have V8 installed? That does not really matter ... if you write code now then by the time you get popular most of them have V9. |
| "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Dec 09 05:27PM -0800 On 12/8/2022 8:03 PM, Chris M. Thomasson wrote: >> https://youtu.be/HEYrRNMr2kg >> evil grin... ;^o If I remember correctly there was a big lawsuit over RCU (read copy update). IBM vs SCO? |
| Bonita Montero <Bonita.Montero@gmail.com>: Dec 10 06:42AM +0100 Am 09.12.2022 um 21:38 schrieb Lynn McGuire: >> on a PC. Java is mostly used for in-house server-applications. With >> that you won't have to pay anything. > Most of the consumer devices out there run java now. But the application writer hasn't to license the VM. |
| Bonita Montero <Bonita.Montero@gmail.com>: Dec 10 06:43AM +0100 Am 09.12.2022 um 22:32 schrieb Scott Lurndal: > You're asserting facts about which you have no actual, you know, > bases for the assertion. There are not much desktop or server applications in Java which come along with a redistributed VM. |
| Michael S <already5chosen@yahoo.com>: Dec 10 08:07AM -0800 On Saturday, December 10, 2022 at 7:43:37 AM UTC+2, Bonita Montero wrote: > > bases for the assertion. > There are not much desktop or server applications in Java which > come along with a redistributed VM. Two more desktop applications than I would like. I mean, Quartus Pro and Vivado. I would very much prefer if they were asking me to install required Java version as pre-requisite. Would prefer even more if they were not using Java at all. |
| You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment