😭 TIL: can't have a private class field named "#constructor"
https://tc39.es/ecma262/#sec-class-definitions-static-semantics-early-errors
😭 TIL: can't have a private class field named "#constructor"
https://tc39.es/ecma262/#sec-class-definitions-static-semantics-early-errors
Camel POOP - Perl Object Oriented Programming
I wrote this article for the CodeProject back in 2002 during my first consulting career as a web developer as a way to boost my visibility. I am capturing it here for my archives. The article is based on Perl 5.
https://islandinthenet.com/camel-poop-perl-object-oriented-programming/
😭 TIL: can't have a private class field named "#constructor"
https://tc39.es/ecma262/#sec-class-definitions-static-semantics-early-errors
@IGVazquez I love #ranger and #neovim
but at the same time I started to use #Emacs
For me, they are specific tools, that made for different things.
#Emacs is the best #Constructor ever, when #vim is the fastest thing ever.
I love them both 🙂
Realised last night that JavaScript Database (JSDB) doesn’t run the constructor on persisted custom objects (https://codeberg.org/small-tech/jsdb#custom-data-types) when deserialising them because I didn’t know that you apparently have to define your constructor manually when using Object.create().
Will fix it today but it’s something to watch out for if you’re using Object.create() directly.
For more info, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create
#JSDB #customObjects #constructor #bug #JavaScript #NodeJS #SmallTech #SmallWeb
Конструкторы-самозванцы в Kotlin
Сегодня я хочу поговорить про интересные моменты в Kotlin, связанные с вызовами конструкторов классов. Или не совсем конструкторов? Или же совсем не конструкторов? Давайте разбираться. Это техническая статья для любителей языковых интересностей, не лишённая практического смысла.
My pet foxes. There is also an arctic fox 😂.For some reason, their manufacturer decided to make them earless #minecraft #hobby #fox #foxes #constructor #cool
Warlike Drowned Zombie with a Diamond Sword!
....
#minecraft #hobby #construction #constructor #lego
Fly me to the Moon (Constructor version)
https://video.toby3d.me/videos/watch/d0fc59e1-50ca-419f-bea4-5be2b963dd32
I haven't looked for a PyPI module to do this, specifically. In the past, I've done simple functions with dict lookups to map keys from one source to a canonical value, or with Pydantic, use alternate constructors that you call depending on which source you're dealing with.
Example at https://pastebin.com/8Xt5EK6R .
The self-#constructor:
#DNA is not a #blueprint describing the #structure or the #function of an #organism.
It is rather a #recipe (an algorithm) that describes (#control) the #process of #construction, i.e. specifies what #action the #constructor has to perform at any moment depending on the constructor’s own #state and that of its #environment.
The #function of the #organism is defined by its #structure as constructed by following the #DNA algorithm. Besides the functions involved in this process of self-construction and maintenance, a mature organism is also involved in the #production of #artifacts (messages, seeds) for dissemination (#communication) in the environment.
@indianaclimate did he build the wall? #constructor 😉
#LeeCronin and #LexFridman - The Greatest #Invention In The History Of The #Universe
https://www.youtube.com/watch?v=6T_x3Teeq40&ab_channel=LexClips
#CellularAutomata #Life #Evolution #Computation #DataStorage #Replication #StateMachine #TuringMachine #VonNeuman #Replicator #Replicators #Constructor #Constructors #PhaseTransition #PhaseTransitions #Mutation
Der Bauzug
In Winterthur und Umgebung gibt es momentan auf und neben den Schienen irgendwie ständig etwas zu bauen. Praktisch immer sieht man orange eingekleidete Männer – und selten auch mal eine Frau -, die irgendetwas ausbessern, den Kies im Kiesbett oder gar die Schwellen auswechseln. Darüber habe ich ja glaub schon mal geschrieben.
Letzthin jedoch stand beim Winterthurer Hauptbahnhof ein Bauzug, bei dem mir nicht ganz klar werden wollte, was damit getan werden konnte. Jedenfalls war er lang, gelb und fast ein bisschen monströs.
Der Name des Ungetüms war „Boa“. Ich weiss nicht, weshalb und woher es diesen Namen erhalten hatte. Jedenfalls würde der lateinische Name wirklich gut passen:
Einfach Boa constructor statt Boa constrictor …
#ausbessern #bauen #bauzug #boa #boa-constrictor #boa-constructor #constrictor #constructor #gelb #hauptbahnhof #kies #kiesbett #lang #monstroes #name #orange-eingekleidet #schienen #schwellen #ungetuem #winterthur #winterthur-hb #zug
Just out of curiosity created a #Powershell class today, which creates its properties and methods in the #constructor #code depending on the data it is fed.
#class surprise!
¿Lo Ves a menudo?: El #Número del #Maestro #Constructor. #matrix #hilo
https://invidious.snopyta.org/watch?v=0A7ZqgzRClk
How the heck are you supposed to solve this?! Can anyone help me out?
I get that you should have the car bouncing through the beam to destroy the Sentry but how should I do that?