• 0 Posts
  • 35 Comments
Joined 2 years ago
cake
Cake day: July 12th, 2023

help-circle
  • It was. If you go through the OP thread, one of the responses is a picture of the dialog window that this user clicked through saying, “these changes will be IRREVERSIBLE”.

    The OP was just playing with a new kind of fire (VSCodes Git/source control panel) that they didn’t understand, and they got burned.

    We all gotta get burnt at least once, but it normally turns us into better devs in the end. I would bet money that this person uses source control now, as long as they are still coding.



















  • TopRamenBinLaden@sh.itjust.workstoProgrammer Humor@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    3
    ·
    edit-2
    2 years ago

    C++ is a superset of C, and C is a subset of C++. C++ was originally designed for the purpose of updating and adding OOP to C.

    The main things C++ has that C doesn’t are user defined data types, support of reference variables, function overloading/overriding, built in exception handling with try/catch, inline functions, and C++ has around 30 more keywords overall.

    I would say the biggest difference is the OOP focus of C++ where all of data and functions are encapsulated into an object. This helps make C++ more secure and better for writing high level implementations than C.


  • TopRamenBinLaden@sh.itjust.workstoLinux@lemmy.mlI had a journey
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    15
    ·
    edit-2
    2 years ago

    I personally think communism especially Marxism sounds really good on paper. The problem is that just about every time it has been attempted things didn’t really seem to work like they are supposed to.

    Its like every state that attempts communism just ends up being a perpetual Vanguard state, and it ends up being authoritarian and terrible.

    I really think there are several good ideas in Marx theories, but the actual implementation of those theories needs some work to figure out how they should be incorporated without being corrupted and overtaken by tyrants.