@Felienne @neverworktheory My pet-peeve here is two fold:

1. if you want/need to mix technology and semantics in names, start with the most meaningful semantics and end with the least meaningful technology

This applies to any development environment, taking Delphi as that's what I taught most:

1/
@Felienne @neverworktheory In a Delphi GUI application you always have:
- a main form that is a class combined with a variable that both need to go into the same unit file (which in more generic terms is a module) with extensions .dfm and .pas
- a main program file with extension .dpr

Names then are:

2/
@Felienne @neverworktheory * CalculatorProgram.dpr (or just Calculator.dpr)
* CalculatorMainFormUnit.pas
* CalculatorMainFormUnit.dfm
* TCalculatorMainForm (the Delphi class for the main form)
* CalculatorMainForm (the Delphi variable for the main form)

The last two are both in the .dfm and .pas file

3/
@Felienne @neverworktheory 2. Avoid abbreviations whenever possible as abbreviations are always context sensitive. Since in an application you can have both technical context and semantic context it is easily to confuse both

4/
@Felienne @neverworktheory This goes against how most Delphi programmers are being taught with names like these:

* Calc.dpr
* uFrmMain.pas
* uFrmMain.dfm
* TMainFrm
* MainFrm

or if you are even less lucky saving with IDE auto-numbering:

* Calc.dpr
* Unit1729.pas
* Unit1729.dfm
* TForm1729
* Form1729

5/
@Felienne @neverworktheory The 1729 is a tribute to @ionicasmeets

Welcome back from the long Heidelberg-Leiden train trip Ionica!

6/6

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Jeroen Wiert Pluimers

Jeroen Wiert Pluimers Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @jpluimers

Apr 15
Tip voor @xs4all:

In de rest van de xs4all->KPN migratie, stuur "Onderwerp Uw wachtwoord voor Telefonie" brieven gaarne in een lettertype waar de 000 en OOO heel duidelijk van elkaar kunnen worden onderscheiden.

Hier 4 pogingen (de helft van de permutaties) nodig gehad. ConsolasOCR A
Helaas nog steeds niet goed:

met in "User name" in plaats van "user" nu "user@ims.imscore.net" is deze foutmelding weg: "Registration of Internet telephone number user failed. Remote site reports reason for error 403"

Maar nu deze foutmelding:
"Registration of Internet telephone number ########## failed. Reason for error: Remote site not responding. Timeout."

Dus VoIP werkt niet.

Dit zijn de settings (met ### vanwege privacy).

Help! Image
Read 25 tweets
Mar 25
@daniellebraunOL Met wat gevogel (anoniem instagram browsen, conversie tussen instragram media ID en instagram shortcode) de post gevonden:

instagram.com/p/CWbFLNOMRcl

Wat ik geleerd heb in de volgende tweets...
@daniellebraunOL Instagram anoniem browsen gaat via picuki.com

Daar zoeken op thepresentpsychologist en dan een heel eind naar beneden bladeren tot je het plaatje vindt.

Dan klikken zodat de post geopend wordt.
Read 8 tweets
Mar 24
@baardvrouw @googlecalendar That was a long time ago, so let me check my post wiert.me/2019/01/10/som…
@baardvrouw @googlecalendar I think I followed the guide at blog.vendilli.com/google-calenda… for the base URL
@baardvrouw @googlecalendar Yup, I started at calendar.google.com/calendar/u/0/e…

then clicked some buttons to get most parameters right
Read 5 tweets
Mar 24
Trying to figure out why @googlecalendar `<iframe>` elements won't load in Chrome.

The URLs like calendar.google.com/calendar/embed… both 302 redirect to URLs like accounts.google.com/ServiceLogin?s…

The latter give `(blocked:other)`.

I have seen this happen for a while. Not sure why yet.
@googlecalendar The journey:

None of the extensions were visible on the @googlechrome toolbar.

This made the icons of @PrivacyBadger and @ublockorigin invisible.

Clicking on the extensions icon made them visible: Clicking on the extensions icon made the icons of @PrivacyBa
@googlecalendar @googlechrome @PrivacyBadger @ublockorigin By default @PrivacyBadger disables bout accounts.google.com and calendar.google.com, hence the `(blocked:other)` in the first tweet. By default @PrivacyBadger disables bout accounts.google.com
Read 8 tweets
Mar 23
@Felienne @guido_leenders Sentence 2 in your first tweet should be an eye opener to everyone.

I still know it didn't see the full implications when a student, that immigrated and learned the Dutch and English languages, told me this some 20 years ago.

Looking back my first glimpse was this:

1/
@Felienne @guido_leenders Long ago, while teaching about how to use the Delphi TTabSet (way before Tab Controls in Windows) with my standard example "put new tabs for all 26 alphabet letters", my Nordic students responded "are you sure?" implicating they had 29 letters.

docs.microsoft.com/en-us/windows/…

2/
@Felienne @guido_leenders Speaking semi-fluent German (writing any natural language is still hard for me), I knew about umlauts so my first guess was "umlauted letters are distinct over there".

Wrong!

Æ/æ, Ø/ø, and Å/å are at the end of their alphabet.

en.wikipedia.org/wiki/Norwegian…

3/
Read 8 tweets
Mar 12
De aflevering die je wist dat zou komen: de energie soap gaat door.

Brief van @AmsterdamNL aan iemand die hier niet woont.

Goedkope enveloppen tegenwoordig dus het belangrijkste deel van de tekst kun je er doorheen lezen:

Project "Vroeg Eropaf"

amsterdam.nl/sociaaldomein/…
@AmsterdamNL In november wilde @LianderNL niet vertellen op wiens naam of welk energiebedrijf op ons adres een contract had:

In december stuurde @LianderNL toch een brief naar ons adres met alleen een achternaam van de contractant.

Dus adresonderzoek bij @AmsterdamNL laten doen, helaas zonder uitkomst.

Nu weten we achternaam, voorletter en geslacht.

De samenvatting gaat mooi naar @ARAG_nl.
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(