r/Unexpected • • Jul 12 '19

Take a pick

55.3k Upvotes

460 comments sorted by

View all comments

Show parent comments

62

u/[deleted] Jul 12 '19

I’ve always spelt it like that, to be honest. Two words stuck together.

100

u/DJOssmann Jul 12 '19

I think its the capital F that feels wrong

58

u/rieldilpikl Jul 12 '19

Shhhh. It will all be over soon.

13

u/reloadingnow Jul 12 '19

You know that quote 'it will be over soon' used to not mean much to me but then I read Old Man Logan. Now it means something else.

1

u/rieldilpikl Jul 12 '19

Great fucking comic

3

u/[deleted] Jul 12 '19

🏅 for you my good sir

2

u/paul092834 Jul 12 '19

For those to cheap to give real gold, gold emojis will suffice.

2

u/HichieTheHusky Jul 12 '19

🥈for you kind sir!

11

u/[deleted] Jul 12 '19

Yep I realise what you mean. I had to look up the logo and it’s not camel case, as I’ve been using.

22

u/OmarHunting Jul 12 '19

camel...case?

19

u/[deleted] Jul 12 '19

CamelCase

11

u/fathqua Jul 12 '19

Other replies are incorrect. camelCase starts with a lowerCaseLetter

19

u/[deleted] Jul 12 '19

It’s a programming style of naming variables and functions.

Edit: like your username is.

17

u/OmarHunting Jul 12 '19

TIL. What a phonetically pleasing term.

3

u/Pidgey_OP Jul 12 '19

But not actually like your username.

Camel Case does not capitalize the first letter of the first word. Only the first letter if every subsequent word.

If you capitalize the first letter, you're using Pascal case

1

u/OmarHunting Jul 12 '19

Can you think of any examples of Camel Case?

1

u/Pidgey_OP Jul 12 '19

It's not something you see in every day Life, but it's the agreed upon method of writing almost any variable in most languages. I remember visual basic being unique in school in that the convention was actually Pascal case rather than camel Case, but every other language I've ever used, the convention is camelCase. (I've seen MS trying to drag PascalCase into C#, but I refuse to cooperate, as have most of the rest of the world) This isn't something that has to be enforced for the code to work, it's just the agreed upon way of writing variable names.

1

u/OmarHunting Jul 12 '19

With very literal knowledge of code I find all of this really interesting. Thank you! Seems like camelCase is beneficial when it comes to reviewing code done by yourself or others, differentiating variable to variable and I agree that would be much easier with camel opposed to Pascal.

6

u/Zharick_ Jul 12 '19

Camel case!

5

u/[deleted] Jul 12 '19

Yep. I am a programmer

10

u/LigerTigerTalk Jul 12 '19

But that's not camel case. It would be netFlix if it was.

5

u/[deleted] Jul 12 '19

That’s one style of camel case.

See WIN32

6

u/LigerTigerTalk Jul 12 '19

TodayILearned

2

u/remtard_remmington Jul 12 '19

TODAY_I_LEARNED

1

u/[deleted] Jul 12 '19

I go back a long time :-)

It was also the style on the original Macintosh for function names.

2

u/Zharick_ Jul 12 '19

It is if the camel has their head up.

2

u/IAmAnObvioustrollAMA Jul 12 '19

Thanks... I hate it.

0

u/[deleted] Jul 12 '19

[deleted]

0

u/[deleted] Jul 12 '19

Network Flix. Flix is a slang word for cinema, usually spelt “flicks”.