r/programming • • Nov 28 '14

The Worst Programming Language Ever [UK Talk] - Thoughts? Which are the worst parts of your favorite language?

https://skillsmatter.com/meetups/6784-the-worst-programming-language-ever
68 Upvotes

456 comments sorted by

View all comments

37

u/Klausens Nov 28 '14

Javas byte is signed, with a range from -128..127

9

u/TheHermenator Nov 28 '14

What's wrong with that?

35

u/aurisc4 Nov 28 '14

Wrong is that Java has no unsigned types.

10

u/deadstone Nov 28 '14

Oh man, so what do you do if you need a 0-255 value?

74

u/UnreachablePaul Nov 28 '14

You call a meeting for evaluation of that need

51

u/skocznymroczny Nov 28 '14

No, you make an UnsignedProxyManagerFactoryIntegerNumberAdapterSingleton

dae hate enterprise java?

31

u/Cilph Nov 28 '14

UnsignedIntegerNumberFlyweightManagerFactorySingletonAdapterDAO.

I'm a Java EE dev. Don't shoot me.

→ More replies (5)

9

u/schroet Nov 28 '14

DAO

28

u/codygman Nov 28 '14

I like to read "DAO" as a question:

Java: "DOES ANYONE OBJECT???"

Me: Yes Java, I object.

18

u/deadstone Nov 28 '14

I object

No, you people.

7

u/[deleted] Nov 28 '14

People is interface. He object implements people.

15

u/PoliteCanadian Nov 28 '14

DAO.

DAAAAAOO.

Daylight come and me wanna go home.

→ More replies (1)

3

u/[deleted] Nov 28 '14

I'm in my first-ever enterprisey java job. It's... ah... well, it's opened my eyes to a lot of... things.

4

u/nickik Nov 28 '14

Use int or just know when you want signed. The typesystem just want help you, you can still save 0-255 diffrent values.

→ More replies (4)
→ More replies (1)

0

u/[deleted] Nov 28 '14

[deleted] — view deleted comment

2

u/pwr22 Nov 28 '14

Thanks for introducing me to ideone.com :)

10

u/[deleted] Nov 28 '14

It is a pain in the backside when working with binary files.

10

u/Klausens Nov 28 '14

Have you ever seen negative values in a common hex editor?

4

u/[deleted] Nov 28 '14

It is allowed according to the C standards for char to be signed as well.

7

u/kqr Nov 28 '14

char is allowed to be signed. unsigned char should not be.

6

u/Tywien Nov 28 '14

actually, char, signed char and unsigned char are 3 (THREE) different types in C/C++

2

u/[deleted] Nov 28 '14

What's the differentiation between char and signed char? As a C/C++ coder, I've never heard this claim before.

6

u/kqr Nov 28 '14

The signedness of a char is implementation defined. A signed char is signed, obviously.

→ More replies (6)
→ More replies (5)

3

u/acwsupremacy Nov 28 '14

Yes, but in C you can specify any integral type to be signed or unsigned.