[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 119360094_p0_master1200.jpg (331 KB, 987x1200)
331 KB
331 KB JPG
Lua
>>
Lua looks like THAT?? I'm sorry for hating on lua
>>
incel pedophile thread
>>
>>101219159
Useless language in 2024. In fact, there are way too many general purpose scripting languages these days.
>>
>>101219215
incel pedophile website
>>
>>101219226
Yet none have ever managed to be as simple, effective, and elegantly-implemented as Lua. Why do you think that is?
>>
>>101219159
I hope that's a little boy.

I am a Rust programmer btw.
>>
Is that Robotnik's shadow?
>>
Meme language meant for modding games. Not a bad starting point but you could do better.
>>
>>101219247
If Lua had type annotations and good async it would be, the best scripting language. Teal gets around the first part.
>>
>>101219811
Why do you want type annotations in a dynamically typed scripting language that only has 1 data type per kind of data?
>>
>>101219811
Also what do you mean good async? Are you unaware of how powerful lua coroutines are? Everything that tries to implement async does it wrong, Lua is the only one that gives a straightforward coroutine library. Javashit promises can be emulated in Lua coroutines for example but not vice versa.
>>
>>101219847
Inevitably you wind up in situations, especially with ex. mods, plugins for software like vim, or even with projects like awesomewm, where the complexity of what you're doing would benefit from type annotations.
>promises can be emulated
Which is the issue, a standard implementation would simply be better.
>>
>>101219901
>a standard implementation would simply be better
You're a mouth breathing drooling retard.
Promises are absolute garbage. I just used it as an example to demonstrate that they are inferior to having access to an actual coroutine library.
>>
Cloudflare uses Lua in prod and I don't like Cloudflare. Defend this Lua users.
>>
>>101219932
>promises are garbage
Stopped reading there. I can already tell you're just a dumb script kiddy.
>>
>>101219973
I've seen this image before and I still don't see it. Are you a terminal coomer or something?
>>
>>101220005
I love how you can always find the underlying reason behind a poojeet's complaint about X thing just by asking a few questions.
>"I hate lua because it doesn't have types and other features" = "I hate lua because I learned javascript in webdev boot camp and I confused by task scheduling tools"
>>
>>101220083
If you don't understand the benefit of type annotations for any language you are, genuinely, a brainlet. It is very obvious you have never worked on a large project and your opinion is worthless.
>>
>>101220104
>backpedaling
I accept your concession.
>>
>>101220131
>backpedaling
That's not called backpedaling. You're upset that I ignored your blatant attempt at character assassination and have zero reasoning to defend your stance.
>>
>>101220142
>waah waah *fart noises*
Nice argument lmao
>>
In any case, this conversation is going to go nowhere because you are too immature to have a reasonable discussion. I never said I hated Lua. I write it frequently; when I do I use Teal.
https://github.com/teal-language/tl
>>
>>101220163
buy an ad
>>
>>101219847
>why do you need type annotations
Have you ever tried to debug a 5k LoC nvim plugin?
>>101220163
Teal is based
>>
>>101220220
>he's resorted to samefagging
Truly a sad display.
>>
>>101220220
>debug a 5k LoC vim plugin
Yeah, it's definitely one of the biggest drawbacks of the language. When I was working on a mod for Zomboid it became a nightmare to debug. Even Python recognized the advantage of type annotations and it would be nice if Lua had native support as well.
>>
>>101220307
At least try to change your typing style. It's becoming sad how much effort you are putting into this jape.
>>
>>101219496
no, that's your uncle that gave you child trauma
>>
>>101219973
I see it, how do I unsee it...
>>
>unironically defending dynamic typing in yool 2024
>everyone who disagrees with me is the same person
Schizo webshitter
>>101220307
Currently writing a plugin for nvim and its my first big project in the language, couldn't imagine doing it without tl.
>>
>>101220541
>defending dynamic typing
I think it's fine as long as it's optional. It can be really nice for quick prototyping or small scripts. There's really no reason for the added mental overhead that comes with static typing for such purposes.
>a plugin for nvim and its my first big project in the language
What kind of plugin? Lua was actually my first language, started writing it because the private server for WoW I was a GM on way back in the day (close to 14 years ago now) needed more scripters. I've had a soft spot for the language ever since.
>>
>>101219215
You would prefer this to be a noncel pedophile thread? noncel as in non celibate
>>
File: 1719783163616.jpg (1.22 MB, 3000x1923)
1.22 MB
1.22 MB JPG
>>101220665
>>101220541
>>101220220
>>101220163
>>101220083
>>101219901

Tranime thread bringing out r*dd*t typers

Clockwork



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.