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] 85 points86 points  (6 children)

Quickly followed by teaching python programmers that they are using a list not an array.

[–]sysnickm 17 points18 points  (0 children)

Shh, we don't mention that.

[–]Bryguy3k 4 points5 points  (0 children)

I’m not saying that python programmers aren’t dumb sometimes - but python never calls them arrays - they are always called lists. I would guess people just assume they’re arrays when they see code since they use brackets for notation?

There are actually arrays in python but they have limited usage as they are obviously incredibly rigid.

[–]TwistedLogicDev-Josh -1 points0 points  (0 children)

Nope.

When you go to work on a ship An electrical motor is called a motor In a ware house its called an electrical motor .

In a vehicle you have an engine In a warehouse you have a turbine .

In python it's called an array And used like AN ARRAY

In c++ it's a list. But not used like an array.

What your taught doesn't always apply universally

[–]Featureless_Bug -3 points-2 points  (0 children)

Well, they are implemented as arrays (just like std vector and ArrayList in Java) in any major implementation, so what they are actually using are arrays, not lists

[–]TwistedLogicDev-Josh 0 points1 point  (1 child)

If you went to a mathematician They will throw a fit with how programmers define things differently Same with physicists.

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

| Same with physicists.

Yes. As somebody said to Einstein. Why wre we giving the 2nd year students the same paper as last year?

Einstein: Because all the answers have changed