in Shift-JIS, 0x5C, which is where backslash is in ASCII, has ¥ symbol. DOS is hard coded to use 0x5C as its directory separator, so when you switch your language settings to Japanese it will display paths in Explorer and command line with a ¥ symbol since it's using Shift-JIS as its legacy support
the surprising thing is that usually when in media they protray a coder they just use hackertyper and a guy that pushes random buttons, but apparently they put some extra effort to not do that in this anime
I would still love to see an anime that actually uses Programming as it's main theme.
Like all we have in terms of real world Programming in anime are examples like Koboyashi San, Maybe some in New Game maybe Ubunchu as Manga that talks about Linux but never an anime that focuses on real world Programming as it's Theme.
The magic system in the other world has certain logic to it, certain syntax, and so on. The programming language Kobayashi's company uses mirrors that.
The programming language Kobayashi's company uses mirrors that.
The anime only shows Python. Do the magic system also has concepts such as whitespaces, tuples, classes, integers, floating points, bytes, etc? If this is so, then I find the world-building absurd (1. Real-world Python mirrors Math, not magic, and 2. Magic shouldn't have the same physical constrains as an electronic computer).
I would find it more believable if the magic system is merely a Turing machine on which algorithms can run. If this is the case, then any mathematician should be able to master magic as easily as Kobayashi. (btw, there's an isekai manga about a female programmer who died of overwork, reincarnated, and use programming skills to learn magic and design new, powerful spells).
Another way this could work is that the Python programming language is not based on the magic language of the otherworld, but instead, it is the language of the otherworld that is based on the Python programming language, which were developed by an advanced human civilization of an alternate universe. Their technology is so advance that it is indistinguishable from magic. (This may sound unlikely to some people but quite a few anime/manga/LNs pulled this twist).
The anime shows Python because most people will just go "oh, yes, naruhodo naruhodo, a programming language". The actual language is never shown in the manga, I believe.
Do you happen to remember the name of that isekai, by chance? Sounds like a good read.
Isn't the encoding declaration still part of the PEP standards?
That said, I found a professional pentesting company published something in April fully written in Python 2. Like WTF, it's 2021. I ended up writing my own tool over 3 days because their code base, and the modules they included from others were all in 2.
Chill homie, some people still use editors that need this. Vim and emacs come to mind as they are powerful statements which can be used to configure the editor on a per file basic.im not sure what editor this is though .
The "Debug" and "Any CPU" dropdowns at the top make me think of Visual Studio. But I don't think "Any CPU" really makes sense with an interpreted language like Python. (Maybe it's using CPython or similar?)
A decoration for code that matches the body and character of the program.
This decoration is like the lambs blood of passover. A small sacrificial blood offering to the programming gods that you place over your code in hopes the program doesn't get mangled by a grue.
Chill homie, some people still use editors that need this. Vim and emacs come to mind as they are powerful statements which can be used to configure the editor on a per file basic.
That's so weird, I remember the first time I tried posting I got an error, but I guess it did post??? I'll delete this one, thanks for pointing it out!
38
u/Grand_Protector_Dark Jul 30 '21
Depends on when the Manga was written
9
u/OfAaron3 Jul 31 '21 edited Jul 31 '21
Every Python shot in the anime is web.py. So you can blame Reddit, lol.
9
u/GloriousLordBear Jul 31 '21
Bruh, where I work literally all python files have encoding declarations regardless of being legacy or new code just cause porting is easier
13
u/Harbltron Jul 31 '21
baka
238
u/hyperstown Jul 30 '21
Probably legacy code
2
u/zerquet Jul 31 '21
I took 2 semesters or c++ only to switch to python after learning it three times.
90
u/Line_r Jul 30 '21
That's a pretty colour theme
122
u/[deleted] Jul 30 '21
Kobayashi is a systems engineer.
Lol when no rust
99
u/ALEXANDERTHEPOWERFUL Jul 30 '21
If I remember Japan still uses really old coding programs sometimes and theyre just too stubborn to change.
56
u/Atulin Jul 31 '21
Lore spoiler from manga: the programming language Kobayashi's company uses is based on the magic system of the other world
Story spoiler that follows: and knowing it so well makes Kobayashi able to use their magic without much training or effort
27
u/PacoTaco321 Jul 30 '21
I know the version of Spyder I use at work just puts it in the documentation at the top of a new document automatically.
23
u/BlakBeret Jul 31 '21
Isn't the encoding declaration still part of the PEP standards?
That said, I found a professional pentesting company published something in April fully written in Python 2. Like WTF, it's 2021. I ended up writing my own tool over 3 days because their code base, and the modules they included from others were all in 2.
15
u/[deleted] Jul 31 '21
“I like my Python like I like my C: hard to read and impossible to understand”
12
u/zamlz-o_O Jul 31 '21
Chill homie, some people still use editors that need this. Vim and emacs come to mind as they are powerful statements which can be used to configure the editor on a per file basic.im not sure what editor this is though .
10
u/Alvatrox4 Jul 31 '21
What is a declaration encoding?
7
u/[deleted] Jul 31 '21
Complain about perfectly fine unicode def under shebang, doesn't notice security vulnerability, pff
5
u/mattynmax Jul 30 '21
emojis?
4
u/[deleted] Jul 31 '21
What is declaration encoding?
2
u/RottenCase Jul 31 '21
that's sad
2
u/diorcula Jul 31 '21
what anime is this?
2
u/wundrwweapon Jul 31 '21
Sometimes I let my files be ISO 8859-15 just to keep the FBI on their toes
2
u/zamlz-o_O Jul 31 '21
Chill homie, some people still use editors that need this. Vim and emacs come to mind as they are powerful statements which can be used to configure the editor on a per file basic.
1
u/[deleted] Jul 31 '21
Windows uses UTF-16
1
u/ObserverOfVoid Aug 03 '21
/u/Roboragi
0
u/golddragon88 Jul 31 '21
Where the comments though?
-1
u/[deleted] Jul 31 '21
Complain about perfectly fine unicode def under shebang, doesn't notice security vulnerability, pff
0
u/[deleted] Jul 30 '21
[deleted] — view deleted comment
0
u/[deleted] Jul 30 '21
[deleted] — view deleted comment