649
you are viewing a single comment's thread
view the rest of the comments
[-] ArbitraryValue@sh.itjust.works 18 points 7 months ago* (last edited 7 months ago)

I sometimes wish my employer didn't know that I can write Python code, so that I would never be assigned front-end work. I prefer to deal with programs that take lists of numbers and return lists of other numbers.

(I'm not as bad as one guy I used to work with, because at least I accept ASCII input. His backend code only took binary-encoded configuration files for no reason I can think of except maybe to punish anyone except himself who tried to use it.)

[-] Johanno@feddit.de 27 points 7 months ago

Who is using python for frontend?

[-] odium@programming.dev 7 points 7 months ago
[-] DichotoDeezNutz@lemmy.world 9 points 7 months ago

Isn't that backed code? Unless your using templating..

[-] odium@programming.dev 3 points 7 months ago

You could do templating with jinja, or do some data visualization with bokeh. I think there's also something called dash. I don't know much about any of them though.

[-] pupbiru@aussie.zone 3 points 7 months ago

definitely not what people are talking about when they say front end though

[-] muntedcrocodile@lemmy.world 5 points 7 months ago

If flask is frontwnd then im a full stack developer and definatly not some little code monky server raw html forms written by chatgpt with normatting.

[-] Hellstormy@lemmy.world 2 points 7 months ago

Using streamlit works suprisingly well for frontend

[-] MonkderZweite@feddit.ch 1 points 7 months ago

There's pytermgui for cli.

[-] 0x0@lemmy.dbzer0.com 12 points 7 months ago* (last edited 7 months ago)

I'm terrified by this binary config file. Why?! Was he writing C and said "fuck it, memcpy"?

Edit: I suppose it would be more like "fuck it, fprintf(f, (char*)my_config_object, sizeof(my_config_object))"

[-] troyunrau@lemmy.ca 1 points 7 months ago

I mean, python has pickle and people use that to store config. It's a weird practice, and totally unsafe, but it works well enough. This wouldn't be that different.

this post was submitted on 07 Mar 2024
649 points (95.4% liked)

Programmer Humor

19315 readers
75 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS