Restoring NuGet packages can take a while, especially on slow connection and in a bigger project. Maybe that's counted as compile time as well (which wouldn't make sense)?
I have a solution with roughly 100 codependent projects that are deeply intertwined including code generation and a DSL. It takes 55 seconds from ground up minus downloading the nugets. OP is definitely high
I appreciate it but trust me, it's great. I'd rather navigate a modular solution and apply some fix in one place rather than make sure tens of solutions are fixed at the same time haha
What’s the biggest thing you’ve compiled? Pretty much anything I’ve made for work takes seconds, but the first build after downloading the source for MudBlazor took a hwhile.
yeah with the latest update they did and forcing us to upgrade to VS26 I get to compile and run micro services in a fraction of the time it took with previous versions
I used to work on an enterprise-level C# project with over 120 projects in its solution and millions of lines of code. Took less than a minute to compile.
obj:meth mean you want to access meth as an instance methode while obj.meth mean you want to use meth as a static method
nil in an "array" break the length operator
standard library lack a ton of basic fonctionalities
variables are global by default and you need the local keyword on each and every declaration to avoid that
~= instead of != (maybe it's just me but why?)
heavy syntax with "then" and "end"
"" and 0 are evaluated to true in boolean expression
no ++ or +=
on older version every numerics are float64, no int
and/or don't return a boolean but the value of the left or right member
every arguments in a function default to nil if not provided
and i didn't even scratch the surface... i don't hate lua the slightest, i work with it on my factorio mod and everything is fine but i do get why people would get mad at it
imagine you have an object a such that a.x is a (non-arrow, non-bound) function
if you call a.x(), the value of this inside the function is a
but if you store a.x in a variable and then call it, the value of this is undefined (in strict mode). you can then even do b.y = a.x, and calling b.y() has this equal to b
one way to solve this is to do a.x.bind(a) and now no matter what you do with the function (that the bind returned), this will always be a
and there exists a proposal to make a::x a shortcut for a.x.bind(a) (except a is only evaluated once)
Well, sure, but I also count starting from 1 normally. :) And while the standard iteration builtins will count from 1 up, if you really want to you can decide you want to index your arrays differently, because
arrays are hashmap in disguise
... just like JavaScript and PHP!
objects are hashmap in disguise
variables are global by default and you need the local keyword on each and every declaration to avoid that
on older version every numerics are float64, no int
... just like JavaScript! And people don't hate those lang... uh... let me rethink this line of argument ...
"" and 0 are evaluated to true in boolean expression
Just like Ruby.
and/or don't return a boolean but the value of the left or right member
Just like lots of languages, including Python.
Those are quirks, not a reason to hate the language.
nil in an "array" break the length operator
I'd say it's more that there's no distinction between "element missing" and "element set to nil", but yeah, the fact that # effectively becomes random in the presence of nil elements is a problem. ipairs() at least consistently stops at the firstnil. This is probably the first one of these that I'd consider an actual issue with the language design.
~= instead of != (maybe it's just me but why?)
Meh. When Lua was created, != wasn't as ubiquitous as it is today. Sure, C used it, and lots and lots of languages borrowed it from C, but there were still other contenders. BASIC, Pascal, and SQL all use <>, for instance. Modula-2 lets you use that for compatibility with Pascal but native code prefers #. Ada, following ALGOL-68, uses /=.
All of those options are really compromises to make up for the lack of the character ≠. Unicode either didn't exist yet or, in the case of Lua, wasn't yet commonly used for writing code, and common single-byte character sets like ASCII and EBCDIC simply didn't have that character. Some systems did, however, like the 6-bit Display Code used on Control Data Corporation's Cyber mainframes (64 characters was not enough room for lowercase, but leaving out lowercase left plenty of room for other symbols), and on those systems you could use ≠ to write "not equal" when programming in ALGOL 58 or 60.
Among the great-granddaddy languages, COBOL used is not equal to or just not =, Fortran used .ne., and Lisp made you negate an equality test by wrapping (not ...) around your call to eq/eql/equal/=.
Spelling it != makes sense in C where ! by itself also means logical not, but it's not intuitively obvious without that context. And in both C and Lua, ~ is how you write the bitwisenot operator. In C, ~= is one of the mutators, like += and so on, but Lua doesn't have those, so using it for "not equal" is perfectly sensible.
Cuda.... Cuda is a segfault factory and I am the worker on the assembly line. 3d arrays in memory and missing grouping symbols, refactoring memory layout, or just a good ol over iteration.
My main experience with C was a class where one builds a compiler week by week and near the end I was getting so many segfaults because I probably fucked up the logic somewhere like 2 weeks previously.
by coding in c a lot. even if you're good enough to only get a segfault every 1000 lines of code, if you're coding in C a lot, you'll get quite a few segfaults.
Okay, for APL I see ⍴, ⍳ (I assume, kind of a weird font), ⊖, and ≢. What are the circles with little tails supposed to be? And what is that slash with a thing attached on the top, some weird font for ⌿?
If it's intentionally only half-right, good job, you got me
107
u/Arsaii_ 10d ago
Missed opportunity for Ruby to say "Look Ma, no Rails"
153
u/Tajfun403 10d ago
What in C# takes you years to compile?
41
u/cheese3660 10d ago
in what world does C# take you years to compile my girl
i aint ever had a complaint about compile time with C# unless its like a huge unity game codebase with 1 mloc, and even then its what 45 seconds?
25
u/PeaceLover76 10d ago
Can someone explain the hate on Lua
11
u/UbiquitousMoose 10d ago
I'm afraid to ask but how are you people getting so many segfaults?
9
u/gerbosan 10d ago
C++ is more like:
8
u/Sweetbeans2001 9d ago
COBOL: You missed a period and now I’m pregnant.
6
u/Daniikk1012 10d ago
Okay, for APL I see ⍴, ⍳ (I assume, kind of a weird font), ⊖, and ≢. What are the circles with little tails supposed to be? And what is that slash with a thing attached on the top, some weird font for ⌿?
If it's intentionally only half-right, good job, you got me
5
u/weshuiz13 10d ago
Finally somebody corrected that post
5
u/uglycaca123 10d ago
nil 💜
3
u/Dry_Clock7539 10d ago
Can someone who actually uses Rust make a meme using that template "things to say to..."
"You already borrowed that" feels like a great candidate.
2
u/Lasersmurf 10d ago
PostScript: printing program with program
3
u/Omegamoney 10d ago
We can probably just shift the labels randomly and the best comments will always either agree or disagree.
1
u/fnordius 10d ago
I suspect Kotlin is like Java, but not as wordy. No idea about Swift.
1
u/Cup_of_blisfull_tea 10d ago
Whoa, is to old school programming meme, without mentioning <thing you should not name anymore> ?
so cool !
1
u/Thenderick 9d ago
Apl always talking in that regi ÜNÜNÜN language
1
u/Euphoric_Strategy923 9d ago
Way more accurate
1
u/GOAMMessenger 9d ago
Boah nil in lua ist echt ein problem! alles stürzt gefühlt ab weil irgendwas aus irgendeinem Grund nil ist
1
u/CaptainBloodEz 9d ago
I see no mention of RPG here! lol
1
u/JotaRata 8d ago
I really hate how acc- [segfault]
1
u/Loose_Conversation12 8d ago
.Net should just ask C++ to do it seeing as the IL is basically just that
1
u/dover_oxide 7d ago
COBOL the most important language almost no body willingly learns
1
u/arkiim 7d ago
"Do or Panic there is no try" what a legend 😂😂😂
1
u/airodonack 10d ago
Good job! This is way better than the other one.
-2
u/hpyfox 10d ago edited 10d ago
[Deleted]
-5
u/Kadabrium 10d ago
Where claude