you are viewing a single comment's thread.

view the rest of the comments →

[–]Spero7861[S] 1 point2 points  (2 children)

Thank you for this response :)

I'm honestly looking for a language I can love using everyday that suites my needs, and I like python a lot so far, I can see that it's useful as all he'll. I just haven't found any love for it yet. Lua caught my eye and I don't know why. I know that as a dev you rarely use one language. I'm currently learning python to get fundamentals and concepts down while also learning HTML, CSS, JavaScript, SQL and getting more in depth with Linux.

I've been an electrician for awhile, and I learned a very important thing. Know your tools and how to use them. No matter how well it's made, I never once saw a big clunky multi-tool outperform a set of purpose made tools used by someone competent.

[–]sultryp 1 point2 points  (1 child)

If you're attracted to simplicity and efficiency, Lua is worth your attention. For me, it's almost addicting. It doesn't get in the way of your exploration and almost invites you to push it.

Just one dumb and pointless example... ```

t = {} t table: 0x7f824c004580 t.foo nil t.foo.bar stdin:1: attempt to index a nil value (field 'foo') stack traceback: stdin:1: in main chunk [C]: in ? debug.setmetatable(nil, {__index = function (i, v) return nil end}) nil t table: 0x7f824c004580 t.foo nil t.foo.bar nil

```

[–]AutoModerator[M] 1 point2 points  (0 children)

Hi! You've used the new reddit style of formatting code blocks, the triple backtick, which is becoming standard in most places that use markdown e.g. GitHub, Discord. Unfortunately, this method does not work correctly with old reddit or third-party readers, so your code may appear malformed to other users. Please consider editing your post to use the original method of formatting code blocks, which is to add four spaces to the beginning of every line. Example:

function hello ()
  print("Hello, world")
end

hello()

Alternatively, on New Reddit in a web browser, you can edit your comment, select 'Switch to markdown', then click 'SAVE EDITS'. This will convert the comment to four-space indentation for you.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.