Which one would be more easier for a non-programmer?
Lua was made for non-programmers iirc.
>>109542346GNU Guilehttps://www.gnu.org/software/guile/
>>109542346Python.Lua is for embedding into other programs and its standard library is pathetic so you'd have to implement everything yourself in the host language which you'd also need to learn first.
C
lua is 1-indexed, that is supposedly more natural to count from.
>>109542346X86 assembly
>>109542410Binary, you only have to press two buttons.
>>109542346lua doesnt have the retarded package and venv management
>>109542346Depends on your goals
>>109542346>more easierfor you, it's lua saar
>>109543243But python is the #1 jeet language?
>>109543264But it's not as niggerlicious
>>109543264Good morning sirs, Java language can always do the needful
>>109542346lua. they make roblox games with this
syntax is not the biggest problem of a non-programmer, so anything is goodpersonally I'd go with python simply because it's more popular
>>109543264Saar, python is the being high caste language ONLY.
>>109542346every little kid is using Lua for world of warcraft addons, if lil kids can do it, you should too
>>109543264not as jeeted as C
Go for python. You’ll have a much easier time finding learning material and a job afterwards
>>109542350python is like pseudo code
>>109546576>Misunderstands the data this heavilyGood morning
>>109543391lolwhat
>>109542346A non programmer should just ask an LLM to write python code (because llms are better at python compared to lua)
>>109542346Python. Both are relatively easy, but lua is more limiting with its lack of basic features.I started with lua and switched over to python before long for this reason. Constant friction of not having simple shit like not having a sleep function by default, every little bit of frustration matters when you don't really know what you're doing in the first place. I shit you not, the recommendation I saw when I first encountered this was to call out to a VBS script with a timeout statement.
>>109548714>I shit you not, the recommendation I saw when I first encountered this was to call out to a VBS script with a timeout statement.If only lua had some integration with a single letter programming language that it's known for...
>>109547056I don't know what that's supposed to even mean in this context.
>>109543264That's java
>>109550073https://news.ycombinator.com/item?id=1803815
>>109542346>Which one would be more easier for a non-programmer?NoneTo learn programming without having to cope with silly bullshit, there's Pharo, Squeak, even Common Lisp is better. Scheme also qualifies.
>>109547056>python is like pseudo codeonly if the pseudocode is written by a neet
>>109551443explain
>>109551437>Pharowill lock you up into one specific environment and paradigm. if there is any beginner here, don't listen to this guy, lel.
>>109551437>without silly bullshit>smalltalk or lispI mean I like them both, but come the fuck on. Those languages are silly bullshit incarnate.
>>109542346AI.
>>109542346neither, they both suck.We don't have good languages and it follows that we don't have a good beginner language.Perl is a bettern beginner language, unironically. The syntax looks scary but it's actually pretty simple and more importantly the semantics are also quite simple compared to Python, but it's not dumbed down like Lua is. Also because referenences are explicit, it gives a better grasp of that fundamental concept than Python.String processing, regexes and list processing is also a lot simpler than in Python and it's a significant advantage because that's something you will do a lot in scripts.
Lua is the better language AND easier to learn, and it's not even close
>>109553994I've thought about trying Lua, but gay shit like your pic keep me away. Not interested in dealing with a troon lang.
>>109554057>cute girl mascots... are LE GAY!!!
>>109542346probably python because it has more featuresbut if you are serious about programming you should start with C and then move on depending on your use case
>>109554099Troon coded "art" sure is.
>>109554057Tell me your favorite language so I can post an anime girl version of it
>>109554126>but if you are serious about programming you should start with C and then move on depending on your use caseStart with assembly language first, doesn't take long to get the basics down.
>>109554140AngelScript
>>109553994Lua mixes up arrays and dictonaries, it's retarded and beginner should DEFINITELY NOT confuse those different data structures
>>109554572And why not? They're the same abstraction (key = value). Lua's design is very human, and array-like tables become real C arrays anyway as an optimization.
Easier then your english for sure
>>109546576>google analytics
Lua is DSL, Python is general purpose. watch "Creator of Lua" recent interview, the answer in the first 10 min.intedesting view he makes about embeddable VS extendable, but the Lua's future is uncertain because programs with compiled loop will probably extinct
>>109542346LUA was the first one I learned making WoW addons way back in the day. Python is probably "easier" but its boring. For me its a question of motivation. I'm a first world upper middle class White. I don't imagine I would've stuck with coding if I was doing lame Python dice rolling game or shitty weather app or whatever beginners are learning now. I needed something fun and interesting to keep me coming back and fighting through the initial frustration of it. If I was a greasy jeet drinking dumpster water for dinner in Mumbai, I'd probably be motivated enough to make some data scrapping scam app as my first project but I'm not, so I probably would've just quit after the first indent error.
>>109551565>Those languages are silly bullshit incarnate.You must be retarded. Smalltalk and lisp are the least bullshit development environment Is beyond me why anyone would deliberatively cripple himself to primitive structured text > compile > run > debug instead of a live environment where you can actually develop in a dynamic fashion and be able to inspect, search and modify state online
>>109554651>And why not? They're the same abstraction (key = value).Wrong. Arrays are ordered collections. It can support appending, prepend, slices. Dictionaries aren't ordered collection and don't have those function as part of its interface. Exists and delete makes sense for a dictionary but doesn't make sense for an array. You can delete array[0] all you want, the "key" 0 won't cease to exist.>array-like tables become real C arrays anyway as an optimization.arrays are logically different than dictionaries, it has nothing do with optimizationsequence data structures and set/associative data structures have different interfaceshttps://www.youtube.com/watch?v=76dhtgZt38A
>>109557261>https://www.youtube.com/watch?v=76dhtgZt38Aat 55s btw
>>109557261>tism meltdownI'm not reading all that
>>109557330>>tism meltdownmeds>I'm not reading all thatYou already have, the only reason you don't reply properly is because I'm 100% right.It's not like every single language other than Lua also makes the dinsction. Outside of equally shitlangs like Awk and JavaScript.
>>109557261>Dictionaries aren't ordered collection and don't have those function as part of its interface.hashmap (the proper word) is based on array, it may not have some functions trimmed or retarded, same as one animal species can fly but another only crawls.naturally they implode in the high-level language, that is a good design, same as making a linked list object for the userland, there is no point in a singly linked list in the userland's glue code, thats why LinkedList is doubly linked listsame as you dont need to make a bunch of uint8_t, uint16_t, uint32_t, uint64_t in the userland, that would be retarded, high-level language purpose is unification>arrays are logically different than dictionarieswhich arrays btw? segmented lists are different than lists too, they are so different that cannot be mixed with hashmaps, while normie lists can, meaning lists are closer to hashmaps than segmented lists, but lists and segmented lists have the same API, same logic, wow.
>>109557449>aren't ordered collectionordered btw, they arent ordered only in academia. it was well-known since JS hashmaps (ordered)
>>109542346Probably Lua, since it has less functionality, which means there's less shit to learn. Python looks simple and clean, but that design friendliness results in it papering over the cracks in your programming knowledge, which has the potential to result in you being a pretty terrible programmer, if that's your first language. For example, it's pretty bad to use when e.g. learning about programming paradigms, because Python is very fluid and not strict with how it enforces such constraints. This amount of freedom results in you having to be pretty resolute, if you want to write clean code.
>>109557449>hashmap (the proper word) is based on arraydoesn't matter how the memory is represented inside, what matters the fundamental is different. exists and delete don't make sense of an array. dictionaries can't have an insert_before, insert_after and anything related to the order of elements because it's an unordered collection>segmented lists are different than lists tooin implementation but not in interface. they are all sequence data structures and support all the same functions, it's just the time and space complexity will be different>lists and segmented lists have the same API, same logicyes, that's the point. It's the only thing that mattes.>>109557478>ordered btw, they arent ordered only in academiaonly specific implementations of dictionaries are orderedthe academia/non academia distiction is meaningless, plently of languages have unordered dictionaries
>>109557599>what matters the fundamental is different*what matters is that the fundamental interface is different
>>109554057>>109554129every day I thank god for not making me a terminally online /pol/ 12 year old that sees trannies in everything
>>109557599>doesn't matter how the memory is representedye, implementation doesnt matter, lets roll back in an armchair, relax and do phylosophical D's (that wont last too long though)>exists and delete don't make sense of an array.your proposal for deletion of those methods/funcs will be dismissed with a probability of 99% professor.> dictionaries can't have an insert_before, insert_after and anything relatedsure, if you dont implement them they wont be there, pure logic.> plently of languagesthose are unnamed and forgotten experiments which didnt pass evolutionary barrier
>>109542346>more easierSar...
>>109546576Should be the C programming language, you fucking dunce.
>>109557959>ye, implementation doesnt matterit doesn't because we talking about the language semantics here, try to follow>sure, if you dont implement them they wont be there, pure logic.you can't implement in general because dictionaries are unordered collection. This is also true in the case of Lua, the it's does conserve the insertion order.>those are unnamed and forgotten experiments which didnt pass evolutionary barrierwrong
*it doesn't conserve the insertion order
>>109558123>we talking abouti dont know which phylosophy youre talking about, i said the reality defines what phylosophy/model is right. spec doesnt produce implementation, only implementation forges the spec. the pressure measurement device doesnt produce the pressure, the pressure produces measurement number on a device.these basic understanding has to be digested by any academia astraunaut before he entitles himself to talking about softwares. academia got welfare freebies and may hallucinate as long as it wants without reality clash, that is wrong.
>>109558236data structures and languages semantics have nothing to with philosophy you absolute brainlet