- About using auto with class member functions - 1 Update
- Structured binding considered harmful - 2 Updates
- Saint Paul, Minnesota user group - 2 Updates
| JiiPee <no@notvalid.com>: Mar 21 11:17PM Is it a good idea to use auto -return value with all class member function, or use the return type? this: class Render int getScreenWidth() const; int getScreenHeight() const; const std::vector<std::vector<T>>& getScreen(); or this: class Render auto getScreenWidth() const; auto getScreenHeight() const; const auto& getScreen(); ? Or is some kind of mix best solution (like using auto only with long/difficult return types)? How do you do this? |
| "Öö Tiib" <ootiib@hot.ee>: Mar 21 01:09PM -0700 On Saturday, 21 March 2020 20:21:30 UTC+2, Daniel wrote: > I'm sorry if my post has made you angry and upset. I don't know how to > respond to any of your statements above. My point was narrow, and fully > expostulated in my other posts. Nah, don't be sorry. It is not you. It is just me being grumpy lately because of miles of such code to help with. For whatever reasons people prefer to abuse tools. So there is auto, lets split into two schools, one that tries to overuse it and other that tries to avoid it entirely. Then let members of both schools to work over same code-base. Same about naming either use one letter names or over 30 letter names. Raw pointers are dangerous? Ok, lets make everything that god damned shared_ptr. Can make sub-repositories? So lets make hundred of those for every taste but lets make one or two of those huge. And be sure to arrange those sub-repositories as directed graph with cycles. |
| Jorgen Grahn <grahn+nntp@snipabacken.se>: Mar 21 10:33PM On Sat, 2020-03-21, Öö Tiib wrote: ... > god damned shared_ptr. Can make sub-repositories? So lets make hundred > of those for every taste but lets make one or two of those huge. And be > sure to arrange those sub-repositories as directed graph with cycles. You may be interested to hear that I laughed out loud when I read that. :-) I know exactly what you mean, and it is depressing ... but it's kind of funny, too. The software company or project that can overcome that (both the "two camps" thing and the "more extreme is always better" thing) would be in a very good position. /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o . |
| Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Mar 21 07:21PM >> <https://www.meetup.com/> > There are some good alternatives to that: > https://duckduckgo.com/?q=meetup+alternatives&ia=web One is starting to think that you work for duckduckgo as you seem to spam about it *A LOT*. BTW, that is not a cue for you to tell us how good you think duckduckgo is; most of us are quite happy with Google because, basically, Google won. /Flibble -- "Snakes didn't evolve, instead talking snakes with legs changed into snakes." - Rick C. Hodgin "You won't burn in hell. But be nice anyway." – Ricky Gervais "I see Atheists are fighting and killing each other again, over who doesn't believe in any God the most. Oh, no..wait.. that never happens." – Ricky Gervais "Suppose it's all true, and you walk up to the pearly gates, and are confronted by God," Byrne asked on his show The Meaning of Life. "What will Stephen Fry say to him, her, or it?" "I'd say, bone cancer in children? What's that about?" Fry replied. "How dare you? How dare you create a world to which there is such misery that is not our fault. It's not right, it's utterly, utterly evil." "Why should I respect a capricious, mean-minded, stupid God who creates a world that is so full of injustice and pain. That's what I would say." |
| woodbrian77@gmail.com: Mar 21 01:22PM -0700 On Saturday, March 21, 2020 at 2:22:15 PM UTC-5, Mr Flibble wrote: > > There are some good alternatives to that: > > https://duckduckgo.com/?q=meetup+alternatives&ia=web > One is starting to think that you work for duckduckgo I've never worked for them. > as you seem to spam about it *A LOT*. Heckler's veto? Lame, lame, lame. > BTW, that is not a cue for you to tell us how good you think duckduckgo is; most of us are quite happy with Google because, basically, Google won. It's an option for when your favorite search engine goes down if nothing else. Brian |
| 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