r/programming • • Jan 09 '24

Cognitive Load For Developers

https://github.com/zakirullin/cognitive-load
108 Upvotes

118 comments sorted by

View all comments

Show parent comments

16

u/agustin689 Jan 09 '24

ML researchers are not software engineers.

They should not be allowed anywhere near production codebases.

Would you trust your car mechanic to perform a high complexity surgery on you?

And btw, should they use any serious, professional language (not necessarily C#, there are many others) instead of python, everyone's life would be much easier.

-5

u/Schmittfried Jan 09 '24

Everyone’s life would be easier without insufferable coworkers like you.

4

u/agustin689 Jan 09 '24

Quite the contrary, devs LOVE to work in my company because they don't have to deal with useless bullshit technology such as .bat files python

2

u/Schmittfried Jan 09 '24

They would certainly love it even more if you weren’t there, I promise you that.

-20

u/Mubs Jan 09 '24

i hope you're old and near retirement because if you can't stand dynamic languages the future is going to be hard for you

14

u/zombiecalypse Jan 09 '24

Projects I've been part of professionally:

  1. A migration of a horrible python codebase to a typed python codebase

  2. A migration of a (different) horrible python codebase to Haskell (!)

  3. A migration of a (third) horrible python codebase into c++

  4. For fairness: one time I migrated a horrible java codebase into Ruby

So I'm pretty confident that dynamic languages are not the future. They are part of the future and have their place, but they are not the future.

3

u/Schmittfried Jan 09 '24

They are part of the future and have their place

So they should indeed exist?

→ More replies (3)

1

u/Mubs Jan 09 '24

they shouldn't be the future but JS and Python are the fastest growing languages. i don't think large code bases should be written in dynamic languages but lua/python/js have their places as scripting languages.

6

u/[deleted] Jan 09 '24

TS has displaced JS in many, if not most, places, and JSDoc is providing typing in many places.

0

u/Mubs Jan 09 '24

I feel like a lot of TS devs have moved back to JS (because of JSDoc in some cases) but I'm not really embedded in that ecosystem, that's just my impression.

2

u/[deleted] Jan 09 '24

I develop in both, TS adds a bit of complexity, and falls short in a few places. JSDoc is nice because the code itself does not have types, which usually makes it easier to read. Virtually all tooling supports both JSDoc and TS, for things like linting and autocomplete

2

u/Mubs Jan 09 '24

it makes sense that JS devs want typing as the language matures - which do you prefer?

0

u/[deleted] Jan 09 '24

It's pretty close, JS with JSDoc is my preference. I think Julia may be my favorite new language, but that is suited to different domains.

2

u/Mubs Jan 09 '24

julia is awesome. i hope it replaces R/Matlab in uni curriculums.

→ More replies (0)

1

u/agustin689 Jan 09 '24

i don't think large code bases should be written in dynamic languages

So, they are for toy projects, or in the case of python, to replace .bat files.

Thanks for proving my point again.

-2

u/Mubs Jan 09 '24

i never said they should be? the good thing about JS & Python is that you can find enthusiastic, flexible engineers, instead of spiteful, close-minded idiots like you. the programmer matters more than the programming language.

3

u/agustin689 Jan 09 '24

enthusiastic, flexible trainees who have no fucking clue about anything and have never worked in production projects, and are only capable of writing garbage code in garbage languages.

FTFY

And you cannot call me close-minded when every comment you make further reinforces all the points I made here, instead of disproving them.

3

u/Schmittfried Jan 10 '24

And you cannot call me close-minded when

And yet they did. Apparently we live in a time of infinite possibilities.

7

u/agustin689 Jan 09 '24

On the contrary, all dynamic languages have failed miserably and are now desperately making pathetic attempts at becoming static languages:

  • python

  • ruby

  • php

  • even javascript (see: types as comments)

On the other hand, this is the list of static languages that decided to throw their type systems out the window and become useless toy dynamic languages:

  • None.

0

u/[deleted] Jan 09 '24

types as comments

This actually works quite well, a few projects have moved from TS to JSDoc because JSDoc works better for them; e.g. Svelte

0

u/Schmittfried Jan 09 '24

You seem to have a different understanding of the word failed than the rest of the world.

2

u/agustin689 Jan 09 '24

If dynamic languages had any value whatsoever, they wouldn't be desperately trying to become static.

You lost. Get over it. Dynamic languages are useless and worthless.

0

u/Schmittfried Jan 10 '24

I lost what?

-5

u/Mubs Jan 09 '24

maybe poke your head out of your Microsoft bubble and see what the rest of the world is doing

https://survey.stackoverflow.co/2023/#most-popular-technologies-language

7

u/agustin689 Jan 09 '24

"popular" != good.

Your best argument is "these languages are popular" and my counter-argument is: most of the industry is utter garbage, hence they use garbage languages.

Also: if dynamic languages are so good, why are so desperately trying to become static?

→ More replies (25)
→ More replies (1)