• 0 Posts
  • 29 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle
  • looking at files inside the temp folder … otherwise known as … are you sitting down? You really should sit for this … temp files!

    The point OP is making is that those people would not put 2 and 2 together to understand that the files they were looking at are called temp files, just because that’s the folder they found them in. They may not even remember the name of the folder, only that it contains a bunch of files with a prefix they’re now googling.

    Not sure why I’m bothering explaining this to you, the way you responded makes you look absolutely insufferable, but maybe someone else who comes across this will find it useful.













  • I think there’s a pretty significant difference between a week and 2 days in terms of how much time you had to solidify your understanding.

    I also didn’t take that long to pick up the basics, but I could not say that I understood hooks within the first two days of working with React. There are just so many small details and limitations that can catch you by surprise if you don’t know why hooks work the way they do, same with the lifecycle of a component and what triggers a re-render. That does take a few days to fully understand in a way that you can utilize moving forward.

    It’s possible that I had a harder time because I was used to manipulating the DOM directly, and so managing all updates through state changes and being strongly discouraged from directly referencing UI elements felt very foreign to me. I don’t think that my stance would change if I had a different experience in the beginning though.


  • Glossing over the pretentiousness of your comment

    And your stance of “I can learn x in two days, so how can people say it takes longer to learn y” isn’t pretentious?

    When do you consider someone’s “mental model” “appropriate”?

    “appropriate” isn’t a quantification of the mental model in itself, I am using the word as “having a mental model that is appropriate to the thing being learned”. A different mental model is required for React than working with vanilla JS and manipulating the DOM directly, so the mental model for one isn’t appropriate for the other.

    And yes, a mental model is quantifiable, to the extent that it accurately predicts what consequences design and implementation decisions may have on the behavior of the system.


  • relevants@feddit.detoProgrammer Humor@programming.dev“Hire me”
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    1 year ago

    How do you know what is similar in complexity to React? As far as I can tell you aren’t familiar with it.

    at least at a base level while you google how to do everything else

    Ah, there’s the problem. Your definition of learning doesn’t include having an appropriate mental model, which is key to actually retaining and internalizing the way it works. I don’t think it’s unreasonable to say that is a prerequisite for claiming to have “learned” something like a language or framework.



  • React, Vue, Solid, … are a lot more complex than your average JavaScript library, because they contain so many abstractions and basically require a separate “way of thinking” in addition to what you know from JS itself. There’s a separate state and UI model, hooks are a foreign concept at first, and component memoization and re-rendering takes some getting used to as well.

    Now, I only have two years of experience with React, but ten in JavaScript overall, and I will say that using React/JSX required the biggest “mental model shift” for me. That’s not to say that it’s difficult to work with or particularly hard to learn, but it takes time to understand and really internalize this language-within-a-language library.

    The way you’re asking that question seems to imply that because the API of some Python libraries can be learned in two days, the same must be possible for React, and that seems rather dismissive.




  • It could be that the epoch is the start of 2003, so any train with a reset week counter shows 2003, and now they all do since the counter has overflowed late last year.

    The fact that they use a week counter in general is something I remember from someone familiar with the onboard computer system, but I don’t remember how it’s set up specifically unfortunately.