General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Lawrence D’Oliveiro
Lex Clips
comments
Comments by "Lawrence D’Oliveiro" (@lawrencedoliveiro9104) on "Lex Clips" channel.
Previous
1
Next
...
All
Swift is owned and controlled by Apple, Python is not. Need I say more?
5
VSCode is built on the mass of bloat that is Electron ...
3
@CristiNeagu As in using half a gigabyte of RAM just to get started. For comparison, Emacs doesn’t even register in the top 20 processes on my system.
3
Why are the scoping rules so arbitrary and capricious? Consider $var = «val»; is scoped to the current function body, but define('notvar', «val»); is always global scope, even if it occurs in a function body! Even stranger, function example_init() { class MyClass { ... } /*MyClass*/; } /*example_init*/ defines MyClass globally too! And I thought that “using” clauses is just PHP’s way of implementing lexical binding. But it turns out they’re not. Even JavaScript can figure that out.
2
Variable reference: $var Function call: func() Instance variable reference: $ins->var Instance method call: $ins->func() Why isn’t the instance variable reference “$ins->$var”? Why can’t you “identify variables quickly” in that situation?
2
Laravel doesn’t do async though, does it. Python frameworks do async with ASGI and asyncio.
1
The core of Python is remarkably small -- the base language spec is not much more than 140 pages, including definitions of the built-in names. Compare Java, which is approaching 1000 pages (without even including what’s in java.lang). And yet it manages to include things like custom operator overloads, which Java could not do.
1
But it doesn’t have PICTUREs or ISAM files, like COBOL! Honestly, how can you say your language addresses business needs better than COBOL?
1
@CristiNeagu Some of us multitask. That means we use our machines to do more than one thing at a time.
1
@CristiNeagu There are other more useful tools. Like Emacs and Jupyter are so resource-efficient, I can leave them running all the time, and use them for all kinds of different things. VSCode, not so much.
1
@CristiNeagu Like I said, I use that RAM and CPU for other things. Here’s a simple thing I did in Emacs LISP: a custom character table that includes all the characters that can occur in a Python identifier. This includes all Unicode characters classed as letters: (defvar identchars (make-char-table nil)) ; no need for extra slots (map-char-table (lambda (key value) (when (or (eq value 'Lu) (eq value 'Ll)) (set-char-table-range identchars key t) ) ; when ) ; lambda unicode-category-table ) (set-char-table-range identchars '(?0 . ?9) t) (set-char-table-range identchars ?_ t)
1
@CristiNeagu You asked for an example, I gave you an example. As they say: “Your move, creep.”
1
@SplitWasTaken Friendly advice: on the Internet, if you have to resort to personal attacks, that’s an admission that you’ve lost the argument.
1
Just as an example of something Swift has been having trouble with: https://github.com/apple/swift-system/issues/5 . I offered a script to fix the problem, written in ... wait for it .. Python.
1
Emacs isn’t an IDE, it’s an editor. IDEs assume particular build workflows, while Emacs can work with them all. And notice I said “editor”, not “text editor”. You can use it to edit binary files, because unlike conventional text editors, it doesn’t assume a file is made up of lines. It doesn’t need special commands to move/edit across line boundaries; a newline is just another byte value.
1
Remember, the “I” stands for “integrated”. That includes editing as well as building and debugging. Emacs doesn’t assume anything about how you build things. It provides a scripting language that can be used to invoke external commands to perform all the relevant things.
1
@CristiNeagu Consider that CMake has a backend specifically to control Visual Studio builds, but it doesn’t have one to control Emacs builds. This is because I can use Emacs to control CMake.
1
Previous
1
Next
...
All