GetOffMyLan

joined 1 month ago
[–] [email protected] 1 points 2 days ago

I was talking more generally about LLMs here

[–] [email protected] 24 points 3 days ago* (last edited 3 days ago) (3 children)

I've found they're great as a learning tool where decent docs are available. Or as an interactive docs you can ask follow up questions to.

We mostly use c# and it's amazing at digging into the MS docs to pull out useful things from the bcl or common patterns.

Our new juniors got up to speed so fast by asking it to explain stuff in the existing codebases. Which in turn takes pressure off more senior staff.

I got productive in vuejs in a large codebase in a couple days that way.

Using to generate actual code is insanely shit haha It is very similar to just copy pasting code and hacking it in without understanding it.

[–] [email protected] 22 points 3 days ago

That's my thinking. If this is the best they can come up with there must not be a lot going on.

[–] [email protected] 13 points 3 days ago

When my little one is having a strop, regardless of the reason, he just says "I don't like my brother" haha

He loves his brother, he just knows it'll get a reaction.

[–] [email protected] 0 points 3 days ago

Time to learn about context

[–] [email protected] 2 points 4 days ago* (last edited 4 days ago)

I think with http request failures losing the status code can be a real pain. There's a big difference between 400, 401, 404 and 500 for instance.

[–] [email protected] 3 points 4 days ago (1 children)

I wouldn't call bad readability a loaded gun really. Your dev tools will hopefully make it pretty easy to learn the type. It should be a minor inconvenience at best.

[–] [email protected] -1 points 4 days ago (2 children)

That is in fact literally what it means and what we are talking about here.

[–] [email protected] 2 points 4 days ago

I'm not and stated that in my first comment.

[–] [email protected] 0 points 4 days ago (2 children)

Not sure where you think people learn art from hehe

[–] [email protected] 2 points 4 days ago (1 children)

No they literally had a documentary crew with them when they were trying to solve the case.

[–] [email protected] 3 points 4 days ago (3 children)

The problem with dynamic typing is you can't always figure out what the type is even with investigation as it can be lots of things based on what is passed or returned. It also allows incorrect values to be passed.

People will indeed make that readability argument but if the type is not obvious and important to understanding the code then it likely shouldn't be used there.

view more: ‹ prev next ›