Skip to content
  • 0 Votes
    2 Posts
    0 Views
    N
    v1 - CodeProject[^] M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • 0 Votes
    4 Posts
    9 Views
    L
    Please stop deleting your questions, as it makes the replies impossible to understand. You have been here long enough, in all your different names, to know how this site works.
  • 0 Votes
    6 Posts
    0 Views
    L
    Yes, parallel processing the two of us. :-D
  • 0 Votes
    8 Posts
    0 Views
    J
    So it's more like it can grow the collection without locking anything because it knows everything is new and immutable.
  • 0 Votes
    30 Posts
    1 Views
    H
    There is a time and a place for it, and it's sometimes useful when doing some heavy Generic Programming. Like, in theory if you had to design your own tuple type (I know std already has one, but ignoring that), the function to access a tuple's value might be an auto because it's difficult to even type out the template instantiation necessary for the return type, much less come up with it. Another place I use it: In my graphics library you can define pixels with an arbitrary memory footprint. Different amounts of bits for different channels, like RGB565 or YUV888 etc. Because of the arbitrary nature of it the integer values for each channel may be a different type. For example, while a channel probably won't be more than a uint8_t can hold (8-bits) it might be (12 bits? uint16_t would be necessary) Because of that, when I go to assign values from arbitrary pixel formats I don't actually *know* what type it is, other than some kind of integer of 64 bits or less (based on static_assert constraints). So I could always promote it to a uint64_t but that creates other problems when you have to cast down again. So auto is what's for dinner. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • Mo Closures and Currying

    The Lounge com data-structures functional tutorial question
    14
    0 Votes
    14 Posts
    0 Views
    J
    :) I will be getting back after I digest the material you provided. Like going back to school. "A little time, a little trouble, your better day" Badfinger
  • 0 Votes
    14 Posts
    0 Views
    J
    Salvatore Terress wrote: It was not my choice to use lambda - I took the code from another forum contributor Pretty sure that is a choice. As suggested in the other post you can rewrite it. Not sure I have ever used a code sample where I did not modify it.
  • Missing "type specifier " ?

    C / C++ / MFC database debugging linq functional question
    10
    0 Votes
    10 Posts
    0 Views
    L
    I am using this code example to get more familiar with "connect". I am at 3rd attempt to write easy to understand way to process menu / submenu code. I had it working at one time, for one menu. Now I am adding more menu and now my submenus are "multiple selection" instead of single submenu. This code example seems to have that "fixed" , but now it is using lambda...
  • xterm cannot run -e option

    Linux Programming c++ linq design debugging functional
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • 0 Votes
    6 Posts
    0 Views
    T
    Apparently it was a bad day to stop sniffing glue. There are no solutions, only trade-offs.    - Thomas Sowell A day can really slip by when you're deliberately avoiding what you're supposed to do.    - Calvin (Bill Watterson, Calvin & Hobbes)
  • 0 Votes
    2 Posts
    0 Views
    L
    Nice! I dunno any of the 20 people using F#, but they must be ecstatic! :)
  • 0 Votes
    62 Posts
    0 Views
    H
    While I can see the value in some corner cases perhaps, I feel like the acceptor, such as a parameter name on a method should describe what it accepts. Maybe it's just because I grew up with that, but putting the units for example, on the data type itself seems just ... unusual, and kind of awkward to me. Maybe that's not the best argument against it, but I place a lot of value on being able to lean on habits, so long as the habits aren't actually counterproductive. All else considered equal, I place more value in doing something in a way that's supported by "muscle memory" than I do on implementing something perhaps in a more formalized way, and the reason is, if you can lean into your habits, as long as you develop decent habits you get less bugs and more productivity. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • Home page article classification

    Site Bugs / Suggestions functional
    2
    0 Votes
    2 Posts
    0 Views
    M
    Blog Entries are imported from members blog sites and effectively become articles on CP, with appropriate link back to the source blog post. Because of this, you can comment on them just like any other article. You can add your Blog if you want. "Mistakes are prevented by Experience. Experience is gained by making mistakes."
  • Images problem 4

    Article Writing linq com cloud functional help
    4
    0 Votes
    4 Posts
    0 Views
    C
    GO88 | Game Bài Đổi Thưởng - Tải Go 88 Android, Apk, IOS Mới 2023
  • 0 Votes
    5 Posts
    0 Views
    B
    i am rather fond of ranges . i utilize them over other means . they permit a consistent and similar means of managing containers of various types in a unifying manner .
  • Check out new C# 12 preview features!

    The Insider News csharp linq com functional
    4
    0 Votes
    4 Posts
    0 Views
    M
    C# 12? What happened to 9-11? I think I'm using C# 8 with .NET 7, but since the build UI now tells me I can't select the language version, I might as well be using C# from an alternate universe. And isn't the language version somehow tied to the version of Visual Studio, and the update du jour? I guess wikipedia might help explain the mixing and matching of framework, compiler, and IDE that governs the language version. :laugh: Latest Articles: A Lightweight Thread Safe In-Memory Keyed Generic Cache Collection Service A Dynamic Where Implementation for Entity Framework
  • 0 Votes
    3 Posts
    0 Views
    N
    And Cobol. Don't forget Cobol. utf8-cpp
  • When Rust hurts

    The Insider News html functional
    2
    0 Votes
    2 Posts
    0 Views
    N
    Quote: When Rust hurts Have they thought on using WD-40? M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • 0 Votes
    7 Posts
    0 Views
    O
    I attempted to read this article. Talk about hogwash interspersed with issues relating to the misuse of language features. As far as I could tell the bottom line of this article was a sales attempt for a new "functional" language.
  • [Help]H.W issues

    Python linq security functional help
    2
    0 Votes
    2 Posts
    0 Views
    L
    אנטון מוטרוק 2021 wrote: errors such as message.txt file doesnt exist etc If you get errors then you need to provide the exact text, and explain which line they occurred on. Remember we have never seen this code before, have no idea what is is supposed to do or what data it is processing. Also, instead of trying to write the entire application in one go, stop and look at the task(s) you have been set. Go by the numbers in your questions: write the code just for that step, and test it until it works successfully. Only then should you move on to the next step, and so on, until you complete the entire application.