Path: csiph.com!weretis.net!feeder8.news.weretis.net!news.mb-net.net!open-news-network.org!.POSTED.178.197.213.187!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Exposing a module in the current scope Date: Tue, 23 Mar 2021 01:11:28 +0100 Organization: PointedEars Software (PES) Lines: 32 Message-ID: <2057107.irdbgypaU6@PointedEars.de> References: <20210318192107.08e2fac2d6aeada5596c4dd0@freeshell.de> <7921cdf5-084a-4011-9a0e-680e0b45c442n@googlegroups.com> <20210318235703.ea4798e2fc9d01b5194a34ca@gmail.com> <5a31706e-e012-47ea-b047-867d6da83212n@googlegroups.com> <20210319181117.c09ff1a07699679434f6310e@g{oogle}mail.com> <9dd35db1-fee3-4142-bf30-24e8da7bdc98n@googlegroups.com> <4302212.LvFx2qVVIh@PointedEars.de> <0f22a4bb-fa71-49e5-8953-1b5599f3f92dn@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Info: gwaiyur.mb-net.net; posting-host="178.197.213.187"; logging-data="26094"; mail-complaints-to="abuse@open-news-network.org" User-Agent: KNode/4.14.10 Cancel-Lock: sha1:v98vS8V+Ckc8UiGvx+DR13cDbmA= X-User-ID: U2FsdGVkX19J9OxdPlenvxNSRtB2vSUFOlqkbah7IJl3Oi8+MatNsQ== Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg== X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. On Monday, March 22, 2021 at 3:14:19 PM UTC-5, Thomas 'PointedEars' Lahn > wrote: >> Michael Haufe (TNO) wrote: >> > On Friday, March 19, 2021 at 10:11:25 AM UTC-5, Anton Shepelev wrote: >> >> Why are you writing in Markdown? >> > >> > 1. To make clear what is code and what is a comment about the code >> > 2. More than JavaScript is used in this group in discussions. There is >> > also TypeScript, ActionScript, and others. >> >> I find your backticks more confusing than helpful (and increasingly so), >> especially as we have format string literals now which are also delimited >> by backticks. > > Noted. I'll play around with extended whitespace in the future to see how > that reads. ISTM that if ever a newsreader will be written that supports syntax highlighting out-of-the-box, it is more likely to support (GitHub-flavored) Markdown’s indentation to produce monospaced texts than (GitHub-flavored) Markdown’s backticks, because it is much easier to parse and there is less potential for false positives. (If I would write one, I would seek to support that; not necessarily requiring 4 leading spaces, though.) -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.