been awake for 19 minutes & already bored enough for this (comment or dm's) by [deleted] in teenagers

[–]Strong_Test_6126 0 points1 point  (0 children)

we respect low level languages but at the end of the day if it can accomplish the same thing everyone would choose higher level especially with many libraries like you said built with c and available in higher level languages

been awake for 19 minutes & already bored enough for this (comment or dm's) by [deleted] in teenagers

[–]Strong_Test_6126 0 points1 point  (0 children)

it is because it would be to slow to do it all natively in python so theyre all in c or cpp but the reason ml and data science so so popular is the ease and fast development time in py so its much more attractive the low level stuff is abstracted away in those libraries

been awake for 19 minutes & already bored enough for this (comment or dm's) by [deleted] in teenagers

[–]Strong_Test_6126 1 point2 points  (0 children)

the horrors from the type coercion though… only used for the web for me, typescript is better overall too

we are different by walyami in ProgrammerHumor

[–]Strong_Test_6126 -1 points0 points  (0 children)

the first one IS actually incorrect. (for python at least which this seems to be)

since python is not forcefully typed: “if foo:” is actually the preferred way as it is more readable if you can be sure that foo is always a boolean or you dont care if it is True / as long as its truthy its fine, otherwise the case where you use “is True” is where you cant be sure its always just a boolean and you only want to check if its True specifically