this post was submitted on 29 Aug 2023
1827 points (98.4% liked)

Programmer Humor

32427 readers
862 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 33 points 1 year ago (4 children)

May I introduce you to Neovim? It has Lua. Learn Lua now.

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

i like my arrays starting from 0 thank you

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

I like my arrays iterable, that’s all I need to know. No matter if the index is 0, 1, 'foo', or a serialized array (oh wait, no, that’s PHP).

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

That's not an array, that's a string.
Someone is converting an array to a string and is using that as key.

A lot of languages could do it, and none of them should.

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

Every LAN party has at least one public FTP available that is called "my ass" and at least one person yells "Put that in my ass!".

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

Learn Lua on Hawaii just to configure your editor! Join the group!

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

I know Lua. Lua is why I won't use neovim.

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

It's not so Bad if you don't develope plugins. And vimscript is still there

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

Or I can use actual Vim (RIP Bram) and have new vimscript, and no Lua.

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

I love Lua. Can I do anything useful with it?

I don't know a language. Some sort of decision freeze. I've tried Lua, C#, Linux BASH, and Java. I went from learning C# to homelabbing proxmox. I have more success learning IT stuff.

Also I haven't used Vim or Emacs, but I used to rebind ALL of my keys in every game I played. I deeply love keybinding and using the keyboard rather than the mouse.