Either the redundant use of the tekst variable or the missed opportunity to use a multiline string for the artwork. Neither of these are particularly egregious, though.
In my c# classes in high school my friends and I wrote basically this exact code countless times because it amused us to see memes scrolling through a console window lol
To be fair, if I saw those strings together as one line I would have no idea what it is and it would also be super long. Also if you follow PEP8 you would break that string up anyway.
Edit: completely forgot about multi line strings because I only really use them for comments
It looks like this comment contains a code block delimited with triple backticks. Unfortunately reddit does not have universal support for this syntax and your comment will not render correctly on old reddit and most mobile apps.
For the benefit of people on old reddit, this link will take you to a correct rendering of the comment.
/u/Deadly_chef, it would be appreciated, but not required, if you could edit your comment to use the more compatible four space indention format. For single lines or inline code you can use single backticks.
The Unicode block Braille Patterns (U+2800. . U+28FF) contains all 256 possible patterns of an 8-dot braille cell, thereby including the complete 6-dot cell range. In Unicode, a braille cell does not have a letter or meaning defined.
It looks like this comment contains a code block delimited with triple backticks. Unfortunately reddit does not have universal support for this syntax and your comment will not render correctly on old reddit and most mobile apps.
For the benefit of people on old reddit, this link will take you to a correct rendering of the comment.
/u/wasimaster, it would be appreciated, but not required, if you could edit your comment to use the more compatible four space indention format. For single lines or inline code you can use single backticks.
My very first coding project was stick figure art and we obviously were not allowed to hardcode it like this. So I guess that’s where you fall into “bad code” but that’s honestly expected when you’re learning.
Level 2Wallaroo_Trail · 11 Min.why does unicode have braille
Probably so that you can have text containing braille symbols, e.g. when writing a book about braille. Unicode in general contains symbols from a huge number of different writing systems - even some that are not used anymore, e.g. Egytian Hieroglyphs or Linear B from the Bronze Age.
Depends on a screen, there is actually a type of screen for this use. I think it was an MIT project (but I could be wrong and it could be a different institute)
That's good, they're really popular among blind in the outside world. Visually impaired people in the USA etc. should get access to them too, better late than never. Screenreaders have their limitations, and some people are blind and death.
441
u/robin_888 Aug 24 '21
TIL about 8-dot braille.
But I don't see why this is supposed to be bad code.
194
u/apriliogusrul Aug 24 '21
I dont see it as bad code
45
u/yaxamie Aug 24 '21
I like it
86
u/Mc_UsernameTaken Aug 24 '21
Everyone has to start somewhere.
24
u/fpigorsch Aug 24 '21
A true Unicode aficionado: Braille 8-dot patterns & 😐 U+1F610 NEUTRAL FACE!
21
u/lumnr Aug 24 '21
i am glad i kommunisme as well
14
u/anonymous_2187 Aug 24 '21
Oh boy, imagine the transcribers trying to type all this with the exact number of characters
23
u/Wrenchonreddit Aug 24 '21
My reaction looking at this code
40
u/Jackiboi307 Aug 24 '21
NORGE STÖDJER KOMMUNISM KONFIRMERAT
NORGE STÖDJER KOMMUNISM KONFIRMERAT
11
u/Sassbjorn Aug 24 '21
Kommunisme ja tak
8
u/Dr_Insano_MD Aug 24 '21
Good luck to the transcriber.
12
u/a_soupling Aug 24 '21
How else would you print this?
4
u/SaltyMini Aug 24 '21
Can't really use new line as then it would be kinda hard to see the art work your making
3
u/High_Quality_Bean Aug 25 '21
Nah, this is good code, very read-able. Anything fancy would mangle the art and would require extra comments.
1
u/tribak Aug 24 '21
If this is actually your friend and not from elsewhere, please don’t mock your friend on their learning path.
4
u/haltmich Aug 24 '21
kommunismen vil vinne
2
u/[deleted] Aug 24 '21
similar to this thing I did when I started to learn xD
print("1")
print("1 2")
print("1 2 3")
2
u/ywBBxNqW Aug 24 '21
Your friend might be interested in learning about ANSI art.
3
u/3LL4N Aug 24 '21
Hey that looks ni--
*sees the far left side*
oh.
1
u/black7en Aug 24 '21
how do i learn this
1
u/GreekCSharpDeveloper wicked Aug 24 '21
what does that mean?
1
u/Tunro Aug 24 '21
A natural
1
u/[deleted] Aug 24 '21
I'd like to take this time to remind everyone that fundamentally, code is a form of data. So I'm okay with this.
1
u/Resolt Aug 24 '21
Norsk kommunist?
1
u/patto2k Aug 24 '21
Tekst
1
u/[deleted] Aug 25 '21
This is actually cool!
1
u/uhwhooops Aug 25 '21
You mean he’s mastered programming.
1
u/G-Force-499 Aug 25 '21
It’s O(1) so I’d consider it good code
1
u/JustAnotherGamer421 shameless Aug 25 '21
How did you feel in gym today?
1
u/VizDevBoston Aug 25 '21
The joy they got from this makes it good code :)
1
u/TsingJyujing Aug 25 '21
No, he's learning digital painting.
1
u/stackPeek Aug 25 '21
"damn bro you got the whole squad laughing"
1
u/ApoorvWatsky Aug 25 '21
transcriber where
1
u/[deleted] Aug 25 '21
I like it.
1
u/Stoffe00 Aug 25 '21
Jævla Kommunister. Kan ikke ta kunstneriske pauser mitt i koden
1
u/[deleted] Aug 26 '21
Translation?
1
u/Estate_Great Sep 01 '21
Where’s the homie that transcribes the code?
1
u/[deleted] Dec 30 '21
Ahahahahaha nydelig!!
0
u/[deleted] Aug 24 '21
[deleted] — view deleted comment