~/talk

Multilingualism makes better programmers - beyond PHP and JavaScript

Talkat DrupalCon Amsterdam 2019 · 2019-10-28..10-31· [php]
slides:none on file

Compares concrete features from other language communities and shows what can be applied to Drupal code: Rust borrow-checker and enums force handling errors at compile time and eliminate null bugs; Java-style annotations in PHP currently rely on Doctrine comments (they break if comments are stripped); JS decorators/proxies enable wrapped custom elements (example counter) but reduce transparency; Ruby style guide pushes tiny functions and avoids method_missing; codemods ease API upgrades; a Schwartzian-like map-sort-map cuts a 22× redundant comparison cost down to about 6 seconds; recommends adopting declare(strict_types=1) and typed properties.

AI-written summary · about

  1. 0:00Start
  2. 1:38What's in a (programming) language?
  3. 2:05A standard library in computer programming Is the library made available across Implementations of a programming language.
  4. 3:44Give functions a single purpose Reduces mental load - Makes it easier to put the code in presentations :-
  5. 16:22In a strongly typed language each data area will have a distinct type and each process will state its communication requirements in terms of these types.
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.