this post was submitted on 19 Jul 2023
1106 points (98.4% liked)

Programmer Humor

32557 readers
299 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 199 points 1 year ago (3 children)

Meanwhile over in the mechanical engineering department, someone is complaining that they have to learn physics when they just wanted to build cool cars.

[–] [email protected] 76 points 1 year ago (2 children)

I took engineering for a year before I realized it had nothing to do with trains.

[–] [email protected] 30 points 1 year ago (1 children)

Yeah that's why you go into physical training. That physically has trains... Right?

load more comments (1 replies)
[–] [email protected] 8 points 1 year ago
load more comments (2 replies)
[–] [email protected] 103 points 1 year ago (4 children)

...then don't study computer science. I study CS and it's annoying when someone in a more math/logic oriented course is like "If I get a job at a tech company I won't need this". All that IS computer science, if you just wanna code, learn to code.

[–] [email protected] 49 points 1 year ago (3 children)

The problem is a lot of people who want to learn to code, and are conditioned to desire the college route of education, don't actually know that there is a difference and that you can be completely self-taught in the field without ever stepping foot in a university.

[–] [email protected] 15 points 1 year ago (1 children)

I always wanted to believe this, but, at least in my country, not even a specialized high school degree is enough to get me anywhere for months, it's crazy.
Maybe you could even make it without formal education, but everyone's always looking for those sweet 3+ years of experience in the field (ಥ﹏ಥ)

[–] [email protected] 6 points 1 year ago (11 children)

I certainly experienced this at the start of my career. Everyone wanted me to have at least bachelors degree despite the fact that I was able to run circles around fresh college graduates. It wasn't until someone gave me a chance and I had real world experience that people stopped asking me about my college education. In fact later into my career when they learn about the level of experience I have and that I'm entirely self-taught, it's often seen as something positive. It's a shitty catch-22

load more comments (11 replies)
[–] [email protected] 14 points 1 year ago

We're not closing schools despite having libraries and the internet, having (good) teachers is useful to learn faster and get pushed further. There are some good programming schools that can make it more efficient for you. I think the main problem is rather the insane cost of higher education in the USA which create anxiety about being certain that you can repay it in the future it may open for you. It is sad.

load more comments (1 replies)
[–] [email protected] 20 points 1 year ago (7 children)

Can you get well paying coding jobs with upward mobility without at least a BA in CS?

[–] [email protected] 19 points 1 year ago (2 children)

It's harder to break into but I make 150k and barely graduated high school. Software engineering is largely a field that doesn't care about degrees but about ability. It's harder these days to break into the field than it was 10 years ago when I did but it's absolutely still possible

[–] [email protected] 19 points 1 year ago (3 children)

When I was looking for coding jobs with a decent portfolio, but no computer science degree I got 1 interview out of 300 applications. They absolutely will not look at you if you don't have the CS degree, or already know someone at the company who can force you in.

load more comments (3 replies)
[–] [email protected] 3 points 1 year ago

I can agree with this. Landed my first dev job after working as a tradesman for a decade, but I liked computers enough to learn on my own. My 'trade' offered a 'unique persepective,' I guess.

[–] [email protected] 9 points 1 year ago (1 children)

I have a fine arts degree and I'm a lead dev 🤷‍♂️

[–] [email protected] 21 points 1 year ago (1 children)

You must write beautiful code

[–] [email protected] 5 points 1 year ago

It's all ASCII art, but it runs like shit ;P More seriously; what constitutes beautiful code is very open to interpretation. Someone would say that a single line of list comprehension expression is beautiful while another would say the same thing expressed over several lines making the logic abundantly clear is beautiful.

[–] [email protected] 6 points 1 year ago

Maybe not what you're asking but people with a non-CS M.Sc or PhD commonly switch to coding, especially in the data fields.

[–] [email protected] 4 points 1 year ago

Anecdotally, I have an associates degree in horticulture and am currently the engineering lead for a team of six

load more comments (3 replies)
[–] [email protected] 5 points 1 year ago

I would have done CS if every math class at my school didn't have 500 people in it. Even college algebra. They basically made everything a weed-out class

I do think many of the CS concepts are pretty cool :)

[–] [email protected] 3 points 1 year ago

Well what i felt working at a tech company that there are instances where we run into specific problems those may need to devise an algo ,and most of my non computer science peers fail to understand why!!

[–] [email protected] 85 points 1 year ago (2 children)

4 years later: "this button is the wrong color. fix it ASAP"

[–] [email protected] 10 points 1 year ago

I was interviewed with complex logic problems and a rigorous testing of my domain knowledge.

Most of what I do is updating copy and images.

[–] [email protected] 4 points 1 year ago

This hurts so much because it's my life :(

[–] [email protected] 72 points 1 year ago (1 children)

A few failed exams later you end up programming cyberpunk and since you're so oblivious to algorithms' complexity it becomes a meme not a game.

[–] [email protected] 37 points 1 year ago

But it's ok because now Nvidia has to deal with your garbage code due to Cyberpunk being the only game that supports the latest graphics tech.

[–] [email protected] 39 points 1 year ago (6 children)

I wonder how many in that class will ever need to think about multitape Turing machines ever again.

[–] [email protected] 49 points 1 year ago (1 children)

The point of these lectures is mostly not to teach how to work with Turing machines, it is to understand the theoretical limits of computers. The Turing machine is just a simple to describe and well-studied tool used to explore that.

For example, are there things there that cannot be computed on a computer, no matter for how long it computes? What about if the computer is able to make guesses along the way, can it compute more? Because of this comic, no — it would only be a lot faster.

Arguably, many programmers can do their job even without knowing any of that. But it certainly helps with seeing the big picture.

[–] [email protected] 7 points 1 year ago (2 children)

Arguably, a much more important thing for the students to learn is the limits of humans. The limits of the computer will never be a problem for 99% of these students or they'll just learn on the job the types of problems they're good at solving and the ones that aren't.

[–] [email protected] 10 points 1 year ago (1 children)

The limits of computers would be the same as the limits for humans. We have no reason to think the human brain has a stronger computation power than a Turing machine.

So, in a way, learning about the limits of computers is the exact same as learning the limits of humans.

But also, learning what the limits of computers are is absolutely relevant. You get asked to create an algorithm for a problem and its useful to be able to figure out whether it actually is solvable, or how fast it theoretically can be. Avoids wasting everyone's time trying to build an infinite loop detector.

[–] [email protected] 5 points 1 year ago (1 children)

The "limits of humans" I was referring to were things like:

  • How long can you push a deadline before someone starts to get really mad
  • How many dark patterns you can cram into an app before the users stop using it
  • The extremes of human stupidity

👍

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

..none of which would be relevant for most people working in back-end, which would be most people that take compsci.

I would hate to go to a compsci study and learn management instead. It's not what I signed up for.

University also shouldn't just be a job training program.

[–] [email protected] 6 points 1 year ago

Two govt spooks are hunting a dangerous fugitive who is also a humanities graduate. He escapes into a sprawling maze of tunnels. "It's hopeless," one of the spooks says. But the other simply says, "Watch." then proclaims loudly, "studying linear algebra is important because of its use in stochastic processes and image manipulation." Before he finishes the sentence, the fugitive emerges back out the tunnel and shouts, "but what's even more important --" and is immediately knocked unconscious and taken for questioning

[–] [email protected] 21 points 1 year ago

I didn't go to university, because I wanted to learn useful stuff, but because I'm curiousity driven. There is so much cool stuff and it's very cool to learn it. That's the point of university that it prepares you for a scientific career where the ultimate goal is knowledge not profit maximisation (super idealistically).

Talking about Turing Machines it's such a fun concept. People use this to build computers out of everything - like really - it became a Sport by this point. When the last Zelda was Released the first question for many was, if they can build a computer inside it.

Does it serve a practical purpose? At the end of the day 99% of the time the answer will be no, we have computing machines built from transistors that are the fastest we know of, lets just use these.

But 1% of the time people recognize something useful... hey we now found out in principle one can build computers from quantum particles... we found an algorithm that could beat classical computers in a certain task... we found a way to actually do this in reality, but it's more proof of concept (15 = 5×3)... and so on

[–] [email protected] 7 points 1 year ago (2 children)

Never used a Turing machine, but I have a project that generates NFAs and converts them to DFAs so they run faster.

load more comments (2 replies)
load more comments (3 replies)
[–] [email protected] 38 points 1 year ago (2 children)

... and then you program games and you do the least performant bogosort you can ever think of

load more comments (2 replies)
[–] [email protected] 32 points 1 year ago

But you can make games that much more interesting if your algorithms are on point.

Otherwise it's all "well I don't know why it generated map that's insane". Or "well AI has this weird bug but I don't understand where it's coming from".

[–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (1 children)
[–] [email protected] 7 points 1 year ago

I’m grateful to this strip because reading it caused me to learn the correct spelling of “abstruse”. I’ve never heard anyone say the word, and for some reason I had always read it as “abtruse”, without the first S.

[–] [email protected] 13 points 1 year ago

I did games technology at university. We had a module that was just playing board games and eventually making one. Also did an unreal engine module that ended with making a game and a cinematic.

It was awesome.

[–] [email protected] 10 points 1 year ago (1 children)

I loved learning lambda calculus (though for me it was super hard)

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

I never really understood the point of Lambda calculus. Why have an anonymous function? I thought it was good practice to meticulously segment code into functions and subroutines and call them as needed, rather than have some psuedo-function embedded somewhere.

[–] [email protected] 4 points 1 year ago

I think you're confusing lambdas with lambda calculus. Lambda calculus is more than just anonymous functions.

To put it extremely simply, let's just say functional programming (the implementation of lambda calculus) is code with functions as data and without shared mutable state (or side effects).

The first one increases expressiveness tremendously, the second one increases safety and optimization. Of course, you don't need to write anonymous functions in a functional language if you don't want to.

As for why those "pseudo-functions" are useful, you're probably thinking of closures, which capture state from the context they are defined in. That is pretty useful. But it's not the whole reason lambda calculus exists.

load more comments (2 replies)
[–] [email protected] 8 points 1 year ago (4 children)

Sipser is an absolute banger of a book though.

load more comments (4 replies)
[–] [email protected] 7 points 1 year ago

My favorite subject at engineering school !

load more comments
view more: next ›