• 6 Posts
  • 644 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle




  • Maybe - but it’s unrealistic to expect. I tutored my high school nephew in a programming class he was taking and practically all of his classmates were using AI to do their homework assignments. The genie is out of that bottle.

    College students should at least be taught how to use it and have AIs provided that help them to learn. You can make an AI that helps with the “what questions should you be asking” at least to help them with that insight they haven’t developed yet.

    For example - I’d recently read about an AI that was created to help grad students with their research proposals. Not in doing the proposal per se but helping them to think about their proposal and whether it was achievable, testable, adds to the corpus of knowledge, etc.


  • AI can answer many of their questions, but AI can’t help them with the questions they don’t know to ask.

    This is a very important thing to understand and one that is difficult to explain to non-technical folks who have a new “super power” where they can magic-up programs (and why hosting their vibe-coded monstrosity on our servers and network may be a bad idea).

    This is why when we say “AI is a tool” we need to be careful to add that it’s more like “heavy machinery” than a “screwdriver.” You need to be checked out on it and understand what it will be doing for you and how to work with it. It’s not a tool everyone is readily equipped to work with.










  • That depends entirely on how the object is constructed. Plenty of implementations use object.new() and you’re expected to fill in the blanks.

    That’s because some languages simply do not give a shit about data types. They’re just like “your opinion man” and can even vary at runtime which creates lots of exciting errors as you’re pointing out. Enjoy writing lots of type-checks.

    In a language that does care about types you can control that and don’t worry about it.

    Besides, even if you have a constructor that takes parameters, it’s essentially the same as calling a function. Get it wrong and stuff breaks.

    data class UserRequest { 
       val id: Int,
       val name: String
    }
    

    No guesswork. All values must be provided and none can be ‘null’. Well designed languages help you avoid such problems. Poorly designed languages facilitate it.