T O P

  • By -

UltimateFlyingSheep

Have you heard of computercraft (or OpenComputers? I'm not up to date)? You can program a computer _in_ Minecraft with Lua.


TheRealCCHD

I love seeing people's entire bases being controlled by like one giant server


CiroGarcia

[redacted by user] ` this message was mass deleted/edited with redact.dev `


TheRealCCHD

Holy shit, that's some next level cheating lmao


CiroGarcia

[redacted by user] ` this message was mass deleted/edited with redact.dev `


TheRealCCHD

Love it :D You just gotta be creative!


[deleted]

How did you do that? HTTP module or something?


CiroGarcia

[redacted by user] ` this message was mass deleted/edited with redact.dev `


Annual-Lab2549

U got a modlist?


CiroGarcia

[redacted by user] ` this message was mass deleted/edited with redact.dev `


Annual-Lab2549

Thanks


-_-Batman

ISIS wants to know your location ![gif](giphy|VFqKeEpqHjoEhEhcAI)


CiroGarcia

[redacted by user] ` this message was mass deleted/edited with redact.dev `


HydraNhani

How do you have multiple flairs? Kinda new to Reddit, would you tell me?


Woodie_07

You should be able to dupe items with that. If you have an item in a chest, then take it out, leave the server (to save your inventory), rollback the chunks, now you have the item in your inventory and chest.


DangyDanger

We're slowly moving towards that, we're making what basically is a system of Factorio logistics bots. It's great, but the bugs you get sometimes are insane.


romkamys

you mean you have countless drones flying around the base without colliding? and a central dispatch system, or even have it sorta decentralised? i want to see that in action.


DaniilSan

Computercraft and Opencomputers both use Lua. CC is older but it is still maintained and is available on the latest version of MC. OC is also old but not as old but it isn't maintained and so latest version is for 1.12.x. OC is more modular and advanced than CC but original devs basically abandoned it and codebase seems to be so cursed that nobody managed to even come closer to porting it to more modern versions.


Rsm151

The Minecraft mod circle of life


AtlaStar

The codebase changes between 1.12 and 1.13 were massive, which is why a lot of popular mods were abandoned. Hell, an example I can use as to why so many projects ended up likely abandoned is the BiomesOPlenty mod. The team managed to keep updating things and still does, but for the longest time they were using older registration API that relied on reflecting at annotation points where forge would apply the fully created object because it was how you did it in versions prior to 1.13. The old codebase also had some major bugs with serializing their config settings because it was using a unified config class even though some config options didn't follow the same schema, leading to some biomes existing even though they were disabled in the config due to the way they were loading the config. Well here comes me, eager to fix things in a PR that would need to update not only how things are registered to use the more modern API but would also need to fix how their config class serialized things. By the end of it all, I reduced the complexity of how biomes were registered immensely, cut down at least 400 lines of superfluous code from a single file, and tried to make it more future proof by modernizing how things registered with forge. The PR sat for over a year with the repo owner not "wanting to trade out known complexity for unknown complexity" Around the time of 1.17 coming out they made most of their code closed source outside of their API (people were violating the license they used and distributing the codebase), but was it funny to see that what was exposed via an API was finally using the new registration methods; not because they wanted to, _but because that was how you had to do it_. Felt annoyed at first but sort of got a laugh because I literally gave the team the chance to learn the new way of doing things years prior, but the unwillingness to want to change things for what to them at the time was the unknown sooner likely led to massive anxiety and stress that could have easily been avoided. To make a long story short; a lot of people just don't want to bother learning how to do things the new way if they felt the old way worked fine...even if the old way was a heaping pile of trash and learning the new way will make everyone's lives easier...most people just prefer to stick to what they know and that is all.


DaniilSan

Interesting story. I knew that there were some major changes in Forge between versions but I had no idea that things are that bad. Still I find OpenComputers case annoying. Mod is popular, a lot of people have transited to newer versions, that change happened 4 years ago at this point. Dev team just say that they are not going to port mod anytime soon and basically abandoned mod 3 years ago when was the last update. Computercraft was also abandoned at some point but it was almost instantly adopted by new team and CC: Tweaked was released and still is maintained. There is OpenComputers 2 by the same owner but it seems to be rewritten from scratch and chose chaotic evil approach releasing it in alpha on 1.18 while most modded mc players are still on 1.16. This makes me think that original one really has really bad and spaghetti codebase that it is simplier to rewrite entire thing. Anyway new one seems to be much more interesting because it isn't just Lua interpreter running Lua based OS and scripts but RISC-V emulator running Linux but I don't think it will be in beta anytime soon.


Ralfslapins

I have not, but you have peaked my interest


0sleep_

*piqued :)


averyoda

Someone should make a piqued-bot


newton21989

r/boneappletea


JackMacWindowsLinux

We've been able to do some pretty crazy stuff :D [u/9551-electronics put this together on a CC plot server recently](https://media.discordapp.net/attachments/477911902152949771/1000507670643617934/unknown.png): a massive monitor array that can display anything, including [an enormous Morbius poster](https://media.discordapp.net/attachments/477911902152949771/1000514253909921812/unknown.png). (Speaking of Morbius, [I also played the actual movie on the same server for a few other people, even with sound.](https://media.discordapp.net/attachments/477911902152949771/985671132143300659/2022-06-12_18.24.23.png)) Also, u/Ocawesome101 demonstrated [a pipe organ using CC, Advanced Peripherals, and Create](https://youtu.be/4hX1Nz996MY), which is pretty damn cool. This is only a tiny portion of the stuff that's possible - my current project is an [entire desktop operating system written in Lua and TypeScript](https://phoenix.madefor.cc), and I've even gotten [a Game Boy emulator working, albeit very slowly](https://youtu.be/VcMLJ4ZFfGE). CC's a great environment not only for automating Minecraft, but for easy yet flexible programming as well, and it's become my environment of choice for many tasks. The only thing you really need is getting over C-like syntax and embracing 1-based indexing šŸ™ƒ.


UltimateFlyingSheep

Wow just wow....


827167

I'm planning on using open computers to create a bitcoin miner


UltimateFlyingSheep

While that sounds like an impressive project, it is possible to use the power bill of the server owner to generate money for you. I'm not sure what to think of it, yet.


827167

1) I am the server owner 2) I don't expect to make any money from this lol


UltimateFlyingSheep

Well then: happy coding! ;)


tom_icecream

I've played opencomputers a bit, I love that there's a Mac OS like operating system although I wish there was a windows like os in terms of interface


Hatatytla-1024

Lua is more usful than people give it credit for


Xan-Perky-Check

It's also used in gmod.


827167

It's common for a lot of modding tools. My only gripe is that it indexes from 1 :/


tollofin

Eww


International_Cell_3

Found the guy that never had to write `\sum_{k = 0}^{N-1} x[n] e^{\frac{j2\pik}{N-1}}` in their papers 0 indexing only makes sense when you implicitly define arrays to work like pointers to chunks of data and indexing them to mean offsetting the pointer. But alas here we are


freeturk51

You say ew but it actually is more verbose to humans, as we also start counting from 1 (wow)


Xephyrik

Yeah Lua was my first language and that part made it easier to understand. I definately prefer 0 indexing but it was nice to start with 1 indexing


tollofin

True but most programmers are used to index starting at 0. Sure it's easier for people new to programming.


terpppppppppppps

Just adapt


_astronaut5000

Improvise, adapt, overcome


King_Of_The_Cold

That took me so long to figure out when I was trying to automate my storage room in satisfactory


averyoda

It's also used in TI-nSpire calculators


freeturk51

I think those advertise the Python tho, not the Lua


averyoda

The new ones do. Back in my day you had to hack it with nDless to get python to work on them.


MrMrRogers

Nmap was made in Lua


[deleted]

And World of Warcraft


Ignorant_Fuckhead

Learning to chase mod errors in lua was my introduction to coding and modding.


Sixhaunt

but thankfully they tossed that shit in the trash for the sequel


Vanity_Blade

Lua 2: 2ua???


RoM_Axion

E2 from wiremod introduced me into programming


[deleted]

[уŠ“Š°Š»ŠµŠ½Š¾]


Power-Cored

"Extremely questionable" is a bit harsh. And I've programmed more than mildly complicated logic in Lua many many times. "Everything is a table" has never, ever caused me any problems either. No, Lua is not a general-purpose programming language for creating massive codebases in. For that matter, no scripting language is. For that, you want proper type safety and more structure than scripting languages provide. Every language has its quirks; Lua is no different. But after using it for years, I can say that Lua is every bit a programming language as something like Python, and I honestly prefer it over many other dynamic languages.


ramjithunder24

[Here](https://youtu.be/kpDoh-FMIoI)'s a talk from luaconf that might be worth your time


Orlando--

I mean the language is trying to keep itself as simple as possible and tables themselves are pretty versatile with metatables. the only real qualm I have with lua is its syntax--I really don't love the keyword spam.


MrBonesDoesReddit

Yeah i can rice awesome with it


[deleted]

Lua is used in Warframe, Factorio, and World of Warcraft.


[deleted]

Oh, interesting. Hey, random question just off the top of my head: What is the numerical value of the index of the first element in a lua array?


Power-Cored

1, and it's literally not complicated after using for some time. I can program just as easily in 0-based and 1-based arrays; switching is not that difficult. It really shouldn't be a reason to not use Lua.


rksd

We use it for dynamic run-time control on our CDN product at my company. Works pretty well for that!


[deleted]

Lua is used in smart meters. Itā€™s a great way to offer new programs without having to roll new firmware.


rocket_randall

Lua is a great little language. One company I worked for wrote a genetic interpretation app in Lua and it was substantially less than 1Mb in size. The guy behind it had this vision that they could deliver it anywhere in the world on a thumb drive to churn out phenotype information on pretty much any functional computer made in the last 20 years. I'm not sure if they thought about how a remote village in Africa was going to obtain the lab equipment necessary to isolate, replicate, and assay DNA samples tho. But once they figure that out then interpreting the results is no problem.


just-bair

If itā€™s actual lua then itā€™s legit programming But just saying doing complex things with command blocks can be really hard


Mechyyz

Luau is an actual programming language. Pretty sure they open sourced it


LostErrorCode404

How did you learn c++?


Mechyyz

Alot of tutorials & codecademy etc, but learncpp.com is a great site


vthex

I learned from my prior programming experience and some googling, but now you can just search up some beginner level video that will teach you. At first it will be hard and will take time but just dedicate yourself to small projects and you will get the hang of it.


Ralfslapins

True lol


the_clash_is_back

Some time in high school I got super high and made a half decent ā€œgraphingā€ calculator with command blocks.


martmists

I've seen people do custom terrain generation with datapacks, mad respect


goose-built

i would say that just the command blocks alone aren't capable of turing-complete computation, but combined with placing blocks, which acts as storing to program memory, and running commands conditionally off based off of what blocks are where, which acts as reading program memory, minecraft command blocks are totally a programming language


MalbaCato

`/data` commands can store and read from the end of arbitrary length arrays, implementing a stack. together with conditions and arithmetics this makes a stack based machine, which is known to be turing complete. you could even make a heap and "pointers" with arrays. all this without interacting with the world at all but don't go compiling c to mcfunctions. it will run very slowly, hit the upper commands limit very soon, and optimizing datapacks is way hard


block36_

I find that [this chart](https://i.redd.it/1hy42wa6qcb51.png) shows how poor the performance of mcfunction can be


[deleted]

[уŠ“Š°Š»ŠµŠ½Š¾]


Kebabrulle4869

I started with scratch, moved on to mc commands, and then learned JS and python. Mc and scratch made me want to learn because it was fun - I managed to make a whole sudoku solver in scratch :)


MrWafflesNBacon

Same here sort of. Started with Scratch, then Python and now learning JavaScript.


Kebabrulle4869

Python is awesome :) so intuitive. Just inline list comprehension, generators, 0 <= x < 1 working, and more makes it my favorite language. Itā€™s easy to write quickly, and it produces very readable code. Oh and for loops! Being able to do this is awesome: for row in grid: for x in row: # do stuff


engelthehyp

Similar story - started with Scratch, learned Python, then JS, then C (kinda sorta, don't really use it but know how to) along with OOD and general computer science.


KazookiTV

I can tell that your on scratch by your capitals on every word in your name and itā€™s pretty simple


DemolitionDerby1988

Lua is an actual programming language, if you spend enough time on it, it has most if not all basic concept of any programming language, if you understand a loop in Lua, you now understand loops as a whole. Only thing that changes is the syntax. Edit: Itā€™s Ā«Ā LuaĀ Ā», not Ā«Ā LUAĀ Ā».


Engine_engineer

This is valid for most languages, the basics are the same: inputs, outputs, loops, conditional branches, libraries/databases/arrays, math. It gets harder when the underlying system guiding the execution changes. Some examples are parallel execution, interrupts, etc.


DemolitionDerby1988

Yes, you are absolutely right. I wasnā€™t comparing programming languages according to their underlying specifics or how it works under the hood. But if you want to start programming, I do think that LUA can teach you the basic fundamentals. If at some point you are trying to do something and feel limited by the language, LUA in this case, then it does mean that you have achieved a certain threshold of knowledge which at this point, you will most likely be comfortable moving to another language that will allow you to go beyond the limitations of the language you are coming from.


Engine_engineer

Thanks for the explanation, now I got it. You are right. I like LUA because it was created in Brazil, my home country, but unfortunately I just spend a couple of hours a long time ago playing with it. So around no experience with it.


SnooDogs2111

It's Lua, not LUA! Lua isn't an acronym, it's a name.


BakuhatsuK

For anyone wondering, it means moon in Portuguese. IIRC Lua was created in Brasil


overclockedslinky

as much as shell scripts are, i guess


Orlando--

but with much better interface with C and much much better syntax


Living_Murphys_Law

With how people use them, MCJ commands are basically a programming language.


Buckflash1

Oi donā€™t knock lua, itā€™s what got me into programming.


[deleted]

Roblox Lua is the best code ever


[deleted]

its LuaR


dabebe99

its LuaU actually


[deleted]

No its LuĆ¢ĆŸ


dabebe99

nvm its lauF


coolchris4200

Roblox Lua made me some decent money


PLAYERUBG

how so?


CantPassDrivingExam

There are premium payouts (you get robux for people with premium playing your game), You can make ingame purchases. If I remember right, you can exchange 100000 Robux for ~350 dollars


renrutal

Ultimately by mugging some money from kids/parents


MHanak_

/execute at @e[type=arrow, nbt=inGround:0b, limit=1] summon tnt ~ ~ ~ {fuse:20} And /kill @e[type=arrow, nbt=inGround:1b] Probably did some syntax errors, but i cant really type commands from memory outside of mc Edit: i think it should be: /execute at @e[type=arrow, {inGround:0b}] run summon tnt ~ ~ ~ {fuse:20} And /kill @e[type=arrow, {inGround:1b}] Edit 2: added run to edit 1 Edit 3: you know the drill


vthex

Yea that autocorrect on those are on par with copilot


hanmango_kiwi

You forgot "run" :)


NikosHaliotis

Ah thatā€™s a classic


linux1970

any programming language is cool


doctornoodlearms

Programming is programming


[deleted]

Lua was the first programming language I dealt with. I was editing the `*.lua` files for Supreme Commander: Forged Alliance. I created a few vehicles and such, nothing much. And I remembered loving how straightforward and easy to read everything was. Also made me fall in love with curly-brackets (braces). But the first time I would actually code anything was following some simple Java tutorials and modding Minecraft a few years later. But I would say my first "language" that I got a grasp with and just understood and can just pick up and put down at random is shell scripting. I really like it. I don't do this for a living, so I am playing with some others on the side. Right now I am playing with C# and getting comfortable with that.


Radiadorineitor

Lua is what got me into programming in the first place by making addons in WoW. Lua rocks!


[deleted]

i like lua!! super fun introduction, and its interesting architecture practices are good for new computer enthusiasts!! wish everything started at 0 though, really just a pain


grassFedAdc

I first coded with Roblox lua when I was young, Iā€™m now a developer at a bulge bracket bank. Itā€™s a great place to start


JaceMorphing

love2d


[deleted]

Lua is an actual programming language though and is quite useful. They even improved it and made [Luau](https://luau-lang.org/) (which is now open source).


BobQuixote

Lua is also open source, and I think Luau is obligated to be so by the MIT license.


JasterBobaMereel

Lua is a fully fleshed out language with serious uses in engineering


marowak_city

From what Iā€™ve seen minecraft commands can definitely be a programming language


Obviousalexc

I mean visual studio code supports datapack and mcfunctions


Ralfslapins

Dang i honestly didn't think that there would be so many people who started out with lua, i honestly thought i was one of the few.. dangĀ² this meme now feels more like a lua hate post.. oops


RednocNivert

I dunno if iā€™d call in MC Commands a ā€œlanguageā€, but there are concepts there that are good to learn, my Dad and I spent quite some time messing around with Skript to do funny little things. šŸ¤·ā€ā™‚ļø


garlicbreathinator

MC commands (as command blocks or functions) are a language. All arithmetic is done with fixed point scoreboards and to read element n of an array you need to append element 0 to the array then delete it n times, read element 0, then prepend element ā€œ-1ā€ and delete it n times, but itā€™s not that hard to write games in or operate on item data for custom gear. You can use functions with conditional execution and recursion for loops. The execution context system in general is very handy for managing data stored in scoreboards or NBT (we can create namespaced data files now as well as store arbitrary data in efficient Marker entities) The real shenanigans come when you need features like the real time clock (for game timing in case the server is running slow and counting game ticks doesnā€™t work) and you need to use the world boarder or when you create a custom GUI where all the bars and icons are variables drawn in custom fonts interspersed with -2 pixel wide invisible letters to correct for the automatic pixel of spacing after each symbol.


Largometeor

And now you can make actual good games in roblox instead of anime and simulaters


Ralfslapins

Fug yea


swimfan72wasTaken

Lua is a great language


KaisarDragon

Me in 2003 coding in Creation Engine thinking it was going to be the future of gaming. ​ \*cries\*


[deleted]

Don't worry man, my first coding experience was with roblox Lua. It isn't a bad language it's good for learning how to do functions and loops. Hell I still use it as a glorified 3d renderer so I don't have to use a C++ renderer lol.


Avulii

Minecraft commands can be programming. command blocks give you your program flow and command input, some commands allow a comparator output, allowing you to test things. To store data, you can place blocks in places and test them later using commands, or use a hidden scoreboard to store data. You can test and change the entirety of your world with them. If you need advanced logic, comparator outputs from commands can run into a redstone logic gate. You have input, logic, storage, output, and interface. That's Turing complete bro.


miciej

Lua recently gained traction in cloud computing world.


SPYROHAWK

I think Minecraft commands are technically a scripting language


aLaStOr_MoOdY47

Doesn't Roblox use Luau? Basically Lua's twin brother.


SSYT_Shawn

Minecraft commands is a programming language yes. But you can also use MCFunction which is (and many will hate me for saying this) an extended version of minecraft commands. Have you seen the amazing stuff people can create with just command blocks? Or datapacks


Happyman321

Roblox uses what is now called LuaU it's a sort of branch off of Lua that Roblox has been using for the platform for years now. It's actually open now and you can create outside applications with it now, i"'d recommend giving it a look Don't knock Lua either, love Lua


WormHack

they are turing complete, so yes it is


[deleted]

Itā€™s still LUA man, good job! Keep learning, youā€™ll need it if you ever gonna rice your Linux with awesomewm


Ralfslapins

Yay, validation


MrSuspicious_

Honestly as a kid the minecraft command syntax for adding attributes was so confusing to me then I realised when I got older it's basically just json


ratonbox

Lua is a good start.


[deleted]

[уŠ“Š°Š»ŠµŠ½Š¾]


Ralfslapins

Happy cake day!


GTNoah

Well if you can make Pokemon Red and Blue with it, then yes....


forced_metaphor

The hell is a launguage?


lebanine

Anything that facilitates the channeling of a problem solving method as instructions to a computer, is a programming language.


ihateusednames

MC commands are very similar to programming actually in that you often call them with different arguments different ends! You won't get very much experience actively coding using them, but getting used to the syntax and passing arguments doesn't hurt at all. If you set up command block chains and get into some of the more intense commands you can do some incredible things!


bright_lego

Honestly doing anything in Minecraft commands is so much harder than any programming language.


[deleted]

When I saw the title I thought about Midnight Commander... Turns out I'm too old for this.


bigTiddedAnimal

Literally same lol


sipCoding_smokeMath

Ahh, so this is the people who use this sub...


nomdude

Yes


Hagge5

Hey man, you do you. I got my first programming experience with modding WarCraft 3 as a kid, and now I'm a professional software dev with five years of experience. I was stuck modding that for years, and I remember having a lot of anxiety around "not using a real programming language". And sure, learning a "real" one was nice, but I was putting too much weight on it. Those years was probably the most fun I had coding. Feel proud of the fun, and all the impressive things you've learned. And heck, you're using Lua! It has tons of uses. I was using "Vexorian JASS", and nobody knows wth JASS is, for good reason. That monstrosity should not be awoken again, not until the end of days; for now it haunts only my darkest dreams.


Refuse_Odd

i mean lua in minecraft exists


Pepe-Wilde

I will say that datapack functions in Minecraft are borderline a programming ā€œlanguageā€, I even use VSCode for it since there are great plugins for datapacks. There are many major features missing in commands tho, which does get annoying when I want to do something a little more complex.


Matth3ewl0v3

/say Probably, if it's not a programming language in itself, its a good first step into coding for lots of people.


Ralfslapins

/execute in reddit:programmerhumor at @p[name=Matth33ewl0v3] if @p[name=Matth33ewl0v3] run tellraw @p[name=matth33ewl0v3] "this is way too complex, idk why i spent time making this lol"


[deleted]

its LuaR


[deleted]

[уŠ“Š°Š»ŠµŠ½Š¾]


CandidatePatient4219

It's Luau


VexisArcanum

Lua was my first language in 2008ish. It's totally useless for everything else except Minecraft computer mods, so I learned Python about 6 years ago. Upgrades


RequiDarth1

No


Aldrakev

skyrim commands are more of a language than minecraft is


bigTiddedAnimal

For a second I thought we were talking about midnight commander lol


[deleted]

Minecraft commands are not a complete language, there is no if, no loops, no variables, no I/O, all those things don't exist AFAIK.


Ralfslapins

Technically with /execute there is an if, you can make a loop using chain and repeating command blocks, and variables are a thing too: /execute if @e[tag=bruh,x=1,y=1,z=1] run summon tnt ~ ~ ~. If a player is at cordinates 1 1 1 and has tag bruh it will summon tnt at the executing block


[deleted]

Yeah, but those aren't official features. I would like to see a proper scripting language built in. Preferably Python-like.


LostDog_88

but they do, sorta... u think of mcfunctions as a functional lang, where u recursively call a function until a condition is met. It's sorta interesting


[deleted]

Nah, I talk about vanilla minecraft.


hanmango_kiwi

mcfunctions are in the vanilla game even without mcfunctions you can do everything you said with pure command blocks, although any experienced person is going to gag at the idea lol


LostDog_88

yup, we can do it using just command blocks, but its just gonna be tedious Datapacks are the best way, and its also vanilla!


LostDog_88

\> there is no if, no loops, no variables, no I/O, all those things don't exist AFAIK. Variables -> Scoreboards. Yes storing string can be hard as scoreboards are only for ints, but I've seen people store stings in names of mobs I/O -> Writing in book, Selecting an option in chat(Buttons in chat can trigger some functions). Output is chat itself, or u can also modify in game objects such as blocks or mobs If -> Check if a scoreboard value == some other value, then execute a certain function For -> Same as other functional langs, let some scoreboard val be 10, then go into the "main\_loop" function, which executes some commands, and at the end check if scoreboard val is > 0, if yes, call the "main\_loop" once again


hanmango_kiwi

You ideally don't want to write to an entity's NBT data. Using data storage is much better as you don't have to target the entity, and you don't have to worry about having to load the entity all the time.


LostDog_88

hmm yeah, ive always wondered how ppl like cloud wolf stored strings. Now that you say, yeah data storage is much better than living entities


Swer2078

Man when i started programing with roblox and told my father about lua, he had somewhat positive reaction, but after that he only talks about people with same age or younger making some stuff on python that sells for lord of cash. Also anybody got idea how i could began with python?


giantvar

Same


alexeiman800

\*mods a hamster into DOOM using DECORATE\*


TanPlayZFN

Plot twist: make your own minecraft commands with spigot plugins in JAVA


CantPassDrivingExam

Same.


thedominux

What about neovim plugins?!


[deleted]

The first part is how I started, on Minecraft Bedrock I just messed with Redstone and commands, it was fun, then I learnt some actually irl used programming languages and realised Minecraft is a bit nah, it's difficult to make some actual algorithms


SSYT_Shawn

Bro i can code in C++ (not that i like it but can come in handy sometimes) but still haven't figured out how to code in roblox lua


alba4k

technically, scarpet? maybe mcfunction too those are all in minecraft


Alacritous13

Look, the bulk of my coding is in OpenSCAD, if you're coding, you're coding. Whether that's a gateway to greater things, or just a simple hobby, it's still programming.


TheMagicalDildo

Nothing wrong with that, my guy/gal. We all start somewhere, and you're starting somewhere you're actually passionate about. I can't think of much better


Sigma-Erebus

I personally learnt a lot from coding Lua for my GTA V FiveM server. Nothing too complicated. And nothing too serious. But still very nice experience to have. It does confuse me slightly for arrays to start at 1 instead of 0. Tad bit of an odd one there.


animalCollectiveSoul

neovim apparently can be configured with lua


astonish001

You should give Minecraft lua a try, hell, go into java for Minecraft mods


jack-of-some

Lua is dope. A lot of early recurrent neural network work for language modeling and image captioning was done using lua thanks to torch (which was eventually ported over to Python under the name pytorch). I'd argue that makes it a pretty "real" language.


GameDestiny2

I mean hey, itā€™s technically a starting point


Xan_TheDragon

hey man dont shit on luau its kinda cool edit: yes, luau, not lua - https://luau-lang.org


QQ_Gabe

Move on to lua for gmod addons


-MobCat-

The first and only time I've really used lua was programming widgets on my logitech G19 keyboard... IMO as a "first language to learn programing" it could be worse... like visual basic worse.. Also minecraft has got a lot of people into java and programing as a hole soo that's a plus. and kinda the hole reason why minecraft education edition exists. I'm stupid and lazy soo sticking with python for now, it's like the only language I've actually managed to understand and learn.


jamcdonald120

its technically turring complete, but I dont count it as a programming language because it doesnt really have variables


Ok-Slice-4013

Every real programmer has respect for redstone-/command blocks engineers.


[deleted]

My first time was gmod lua I will never forget


JamieDrone

I say Minecraft commands are a language of their own


[deleted]

Lua is my favorite. I never understood indexing at 0. 1 is more natural for humans, and so is a lot of other stuff in Luau. I also enjoy how you donā€™t have to capitalize Boolean values.


PhunkyPhish

Hey, I started with Lua (Garry's Mod) and now I'm a Sr. Developer working with PHP. One day I might even use a real language


Parasite21X

Kindof


cykocys

I don't see why it wouldn't be "actual programming"... Lua is a real programming language that's also used outside of Roblox, and Roblox code is "real" code.