mcc, (edited )
@mcc@mastodon.social avatar

Programming languages that practice the doctrine of Anattā: C++, C#, Java, JavaScript

Programming languages that do not practice the doctrine of Anattā: Lua, Ruby, Objective-C, OCaml, Swift, Rust

Programming languages which are ambiguous with respect to the doctrine of Anattā: Python

mcc,
@mcc@mastodon.social avatar

In some Buddhist traditions, it is held that Mucalinda, a snake-like creature, protected the Gautama Buddha from the elements as he sat under the Bodhi Tree following his attainment of enlightenment. What connection this has to the Python programming language is unclear.

mcc,
@mcc@mastodon.social avatar

Update: I have had to edit the top post here because I have just been informed that PHP has both this and also self. Every time I think I understand the depths of depravity in which PHP wallows new abyssi are revealed to me

urlyman,
@urlyman@mastodon.social avatar

@mcc is it wrong of me that what I take from this is adding the plural of abyss to my lexicon?

mcc,
@mcc@mastodon.social avatar

Programming languages which believe nothing, nothing at all: PHP

ocdtrekkie,
@ocdtrekkie@mastodon.social avatar

@mcc My prevailing theory when writing PHP is that if I think a pattern should work, it probably does, somehow.

mcc,
@mcc@mastodon.social avatar

@ocdtrekkie This works for me with Perl but because it works for me with Perl it does not work with PHP or Ruby and so I cannot write those languages.

psycodepath,
@psycodepath@mastodon.social avatar

@mcc it all died when we believed in PHP 6

lafncow,
@lafncow@mastodon.social avatar

@mcc PHP is the language of the streets. Other languages live in the chaos of web applications, but PHP was born here.

lambdageek,
@lambdageek@mastodon.social avatar

@mcc now do CLOS

mcc,
@mcc@mastodon.social avatar

@lambdageek CLOS has already achieved Nirvana

glyph,
@glyph@mastodon.social avatar

@mcc if there’s one thing I demand in my programming languages it is ambiguity with respect to doctrine

mcc,
@mcc@mastodon.social avatar

@glyph Well then let me tell you you are going to love C++

glyph,
@glyph@mastodon.social avatar

@mcc I want chaotic good not neutral evil

glyph,
@glyph@mastodon.social avatar

@mcc i.e. there is a difference between "doctrine" and "principle" :)

glyph,
@glyph@mastodon.social avatar

@mcc (I did laugh out loud when I saw this response, though)

thgs,
@thgs@phpc.social avatar

@mcc

I honestly find this classification so interesting. I do fail to understand how PHP is practicing the doctrine of Anattā (which I just learned about).

Update: Not just PHP, I fail to understand how you actually separate them all.

thgs,
@thgs@phpc.social avatar

@mcc is it because of "self" keyword ?

mcc,
@mcc@mastodon.social avatar

@thgs Yeah ^_^

thgs,
@thgs@phpc.social avatar

@mcc

but we do have "self" in PHP

thgs,
@thgs@phpc.social avatar

@mcc

it goes usually, but not always next to the legendary "Paamayim Nekudotayim" operator.

Example:

self::hello('world')

thgs,
@thgs@phpc.social avatar

@mcc Can also be a type-hint. Return type hint or argument type hint. Like

public function something(self $sameInstance): self

(accepts same class instance and returns same class instance).

No practice of Anattā from PHP, I am afraid..

mcc,
@mcc@mastodon.social avatar

@thgs You WHAT

Checks Google

Oh no. Oh NO

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • kavyap
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • tacticalgear
  • slotface
  • Durango
  • khanakhh
  • rosin
  • everett
  • Leos
  • vwfavf
  • normalnudes
  • osvaldo12
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ngwrru68w68
  • anitta
  • provamag3
  • tester
  • modclub
  • megavids
  • JUstTest
  • All magazines