#constructor

2002-11-11

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.

islandinthenet.com/camel-poop-

2024-08-04

@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 🙂

2024-04-29

Realised last night that JavaScript Database (JSDB) doesn’t run the constructor on persisted custom objects (codeberg.org/small-tech/jsdb#c) 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 developer.mozilla.org/en-US/do

#JSDB #customObjects #constructor #bug #JavaScript #NodeJS #SmallTech #SmallWeb

2024-04-05

Конструкторы-самозванцы в Kotlin

Сегодня я хочу поговорить про интересные моменты в Kotlin, связанные с вызовами конструкторов классов. Или не совсем конструкторов? Или же совсем не конструкторов? Давайте разбираться. Это техническая статья для любителей языковых интересностей, не лишённая практического смысла.

habr.com/ru/articles/805767/

#kotlin #constructor #initialization #function

:bongoCat: Fair Wind 💨fair_wind
2024-01-26

My pet foxes. There is also an arctic fox 😂.For some reason, their manufacturer decided to make them earless

:bongoCat: Fair Wind 💨fair_wind
2024-01-24

Warlike Drowned Zombie with a Diamond Sword!
....

@awws

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 pastebin.com/8Xt5EK6R .

#adapter #constructor #validation

ᛕᎥᕼᗷᗴᖇᑎᗴ丅ᎥᑕᔕKihbernetics@qoto.org
2023-05-21

The self-#constructor:

ᛕᎥᕼᗷᗴᖇᑎᗴ丅ᎥᑕᔕKihbernetics@qoto.org
2023-05-21

#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.

2023-05-10

@indianaclimate did he build the wall? #constructor 😉

Peter Haslebacherpeter@derpendler.ch
2023-03-22

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

https://derpendler.ch/der-bauzug/

2023-02-20

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!

Flowinhoflowinho
2017-12-25

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?

mastodon.social/media/bpRk5nPo

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst