• 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: August 3rd, 2023

help-circle
  • I never said this was a bad value, but I think we all know that these prices will not remain. They will increase because people will pay it once they are locked in. And if someone buys a used car, they have to pay that subscription to get these features, ensuring the manufacturer gets a slice from used sales. I can understand the cost, but it sets a dangerous precedent. It should be one time fee that grants the VIN access to the severs permanently. What would be really nice is if we had legislation that requires companies with a certain amount of revenue to maintain services for older products so they can’t just pull the plug later anyways.



  • CheezyWeezle@lemmy.worldtoProgrammer Humor@lemmy.mlGender.js
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    10 months ago

    Kind of. With hoisting, the compiler/interpreter will find variable declarations and execute them before executing the rest of the code. Hoisting leaves the variables as undefined until the code assigning the value to the variable is executed. Hoisting does not initialize the variables.

    For example:

    console.log(foo);
    var foo;
    //Expected output: console logs ‘null’

    foo = ‘bar’;
    console.log(foo);
    var foo;
    //Expected output: console logs ‘bar’

    console.log(foo === undefined);
    var foo;
    //Expected output: console logs ‘true’

    This means you can essentially write your code with variable declarations at the end, but it will still be executed as though the declarations were at the beginning. Your initializations and value assignments will still be executed as normal.

    This is a feature that you should probably avoid because I honestly cannot think of any good use case for it that won’t end up causing confusion, but it is important to understand that every variable within your scope will be declared at the beginning of execution regardless of where it is written within your code.




  • I feel personally attacked… I have done this with too many games on my deck, with Cyberpunk I spent 3 hours testing all kinds of different settings configurations (and then running the benchmark between every change…), trying to decide if I wanted to stick with native res and lower all the settings or upres with fsr and bump the effects up… then I got in game and realized I didnt have mods and didnt want to deal with them at that point and uninstalled the game.


  • CheezyWeezle@lemmy.worldtoProgrammer Humor@lemmy.mlwhat?
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago

    They do share a significant commonality, though; they are both interpreted languages, rather than compiled. Sure, you can compile them, but they are meant to be run interpreted so you can quickly and easily tweak and change things and not have to wait for compilation to see the results. In that regard they are very comparable.