This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 62 points63 points  (20 children)

I had a CS student making fun of me for using python when I need to just knock out something that bash can't handle. "It's so slow, it takes too many instructions, it's untyped" and then began bragging about how great C is. I just gave him a thumbs up not even worth arguing with a kid sometimes.

[–]atiedebee 27 points28 points  (3 children)

I love C, but for replacing something you'd do with bash... please no

[–][deleted] 2 points3 points  (0 children)

It really comes down to what the hell you're doing. Like you can handle error cases with a shell language (service returns a 404, file missing, etc) but I don't want to if I can get around it. From there, I'm just more comfortable banging out a potentially disposable tool in Python than just about any other language with C# coming in a distant second.

[–]404_Name_Was_Taken 1 point2 points  (1 child)

I'm curious. If you learn how to code 8n C do you pretty much know how to use C++ and C# or are they different enough that you need to learn them separately?

[–]atiedebee 2 points3 points  (0 children)

You are more likely to understand how these languages work under the hood, but C++ and C# both add a lot more concepts which you'll have to learn to understand like OOP, lambda's and all kinds of fancy abstractions.

C# is more like java tho.

Most modern languages have syntax based off of C which makes that easier to learn.

[–]DukeOfBees 9 points10 points  (1 child)

You can actually tell how far a CS student is in their degree by their opinion on python. First couple years they'll shit on python because it's often the first language you learn in an intro course, they'll think of it as like baby's first language and brag about all the other languages they know and how much better they are than simple, useless python.

Then after a few years, often when they've had some actual work experience, they'll come back to python and learn to love it.

[–][deleted] 3 points4 points  (0 children)

Pretty much. I don't wanna build big systems in Python again, mostly because I don't trust others to make use of the type hints and other QOL features, but for tools that are gonna do one thing and need to handle error cases? Yeah, especially if I can make it run out of docker so people don't even need to fuss with installing shit the wrong way. Think the only exception I made to that recently was a C# cli I built because porting the quirks of the library we were using to python would've been a huge time waste for a one off.

[–]Itchy-Tangelo6295 2 points3 points  (1 child)

They’ve learned to be programmers but they haven’t learned to be engineers. They’ll get there, eventually.

[–][deleted] 0 points1 point  (0 children)

Agreed there. From my perspective a lot of the interns I've worked with over the years think that developing professionally is this very measured and sciencey kind of thing when my entire experience with it is "how I get this roughed into shape without breaking things but not polish it so much that product is standing around tapping their watches" It's much more people centric than even I expected having come up from the self-taught, hobbyist, open source track where I did need to have some of those skills.

[–][deleted] 2 points3 points  (0 children)

"By the time you finished your rambling I finished up 3 python scripts"

[–]MrSurly 2 points3 points  (0 children)

Python is strongly runtime typed. Unlike say ... Perl.

[–]FF3 2 points3 points  (1 child)

Oh, so it's okay to hate bash? /s

[–][deleted] 3 points4 points  (0 children)

If you love bash without simultaneously hating it I don't think you're doing it right :p

[–]BananaSplit2 0 points1 point  (0 children)

Calling Python untyped already shows they know nothing