• (nodebb)

    "Frist"

  • xorium (unregistered) in reply to Backup

    Should be String.ValueOf(String.format("{0}", "Frist"))

  • akozakie (unregistered)

    Re: Easy Reader Version - it just means the application tracks trains transporting Apple products.

  • Fordom Greenman (unregistered)

    A Singleton that can be created twice... a Doubleton?

  • Kleyguerth (github) in reply to Backup

    That was subtle, took me a bit to get it

  • (nodebb)

    The "i" stands for "Is Obviously a String, just like everything else, as it should be".

  • kaejo (unregistered) in reply to Fordom Greenman

    I used a Multi-ton pattern for a while.

  • (nodebb)

    Visual BASIC is a language Microsoft keeps around for managers. And that's pretty much what 99% of code looks like even tho VB# is pretty much on the same language level like all the other .net languages.

    Addendum 2023-03-24 06:05: That said, because VB# is a .net language, it's pretty simple to move everything piece by piece into an different assembly using C#. And after some times you can get rid of the remain technical debt (aka VB code) in one big swoop without much of a fuzz. And here lies the power of all those .net languages, they are all based on the same common type system, so there is always a nice migration path available, even from good old C++ via managed C++ to C# (for example for legacy business applications).

  • TheCPUWizard (unregistered)

    @MAxTB - Interesting you thing VB.Net is a "debt"... I have seen companies reverting the decision to move to C# because that ended up actually being more costly.... [note: I a talking modern VB.Net, not VB6 or previoues, or even early VB.Net versions]

  • (nodebb) in reply to TheCPUWizard

    That is odd. Both run on the same framework so technically there is no difference. C# is more feature rich, so everything you can do you can also do in VB.net; obviously it won't work the other way around. So no idea whats so costly about it, as long as you follow the CTS guidelines (standard types), so you won't use stuff like unsigned types, you literally just replace code class by class and just reference both assemblies until no VB is left over.

    However I am not surprised; if you tell a client "you application will crash and burn tomorrow and all data will be lost" you usually get the response "oh, so it works today?"

  • (nodebb)

    Now, a train's number probably should be a string- even if the content is all digits, it's not actually a number for use in mathematics.

    Ah, assumptions! A very long time ago I used to work on the planning systems of our national railways. The train numbers had a nifty little feature: a train would have the number of the train running the same route an hour previously + 4. So the 1757 ran an hour after the 1753 (number are fictional, I don't remember the actual numbers). I am not sure if that was officially specified, since it was already legacy when I got there somewhere in the previous millennium. I am sure though that the trick was used to generate the daily schedule!

    I fondly remember those innocent times, when trains (generally) ran on a schedule, and never more than 4 per hour on the same line.

  • markm (unregistered) in reply to nerd4sale

    They could probably count on there never being more than four scheduled trains per hour on a line because their block signal system didn't allow running trains less than 15 minutes apart.

  • Craig (unregistered)

    I sometimes use i as a tag for "item", usually in the context of loop processing.

    Note that it shouldn't be possible for the return from ToString to be Nothing unless ToString is overridden.

  • whitewalter (unregistered)

    https://casinowinspirit.com/slots boasts an impressive range of games, from exciting slots to immersive live dealer options. The site's user-friendly interface makes navigation a breeze, and generous bonuses keep the excitement high. With top-notch security and a commitment to player satisfaction, Casino Win Spirit is a fantastic choice for online gaming enthusiasts!

Leave a comment on “Tied to the Train Tracks”

Log In or post as a guest

Replying to comment #599737:

« Return to Article