Scott Williams 🐧
Do you use your powers for good or for awesome?
Senior #DevOps Engineer at a major research institution (views/opinions my own) and a severe #Linux and #opensource enthusiast. Also into #retrocomputing, #fountainpens, #Volkswagen, #music, and #cooking. #fedi22
Hoosier currently living in California.
- 15 Posts
- 24 Comments
@decathorpe Fair enough, but python supported comma as the delimited for input, too.
“The new-style number-to-string formatting language will be extended to allow _ as a thousands separator, where currently only , is supported.”
It is a tuple. Python supports multiple assignments and this can be achieved by comma separation. For example:
x, y = 1.200,30
x would be 1.2
y would be 30
@decathorpe You’re proving that a German understands the answer 😅. Most Americans don’t know about this differentiation.
It seems there is a new proposal to make _ the thousands separator:
@mikebabcock@floss.social @decathorpe@mastodon.social IIRC, that behavior is because python is a wrapper on C.
@decathorpe Because “1.200,30” is how a German would write the American equivalent of “1,200.30”, so a German might be more likely to have tried this before and therefore might have a better chance at the result.
Hypothesis: My German friends/followers will be more likely to know the answer than my fellow Americans.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoProgramming@fedia.io•Some shops do CI testing with fancy business language tools like cucumber, gherkin, and behat, where others do it with terse inline regex evals.
1·2 years agoAlso, just as with COBOL and Perl, once you go down one path, it is near certain that the other path will be forever blocked from your travel on this adventure.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoProgramming@fedia.io•Which programming language best deserves the label of, "modern C"?
1·2 years ago@raptor85 It’s kind of the opposite, IMO, since Python was older and Lua was trying to fit somewhere in the space around Python, Perl, and Ruby.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoProgramming@fedia.io•Which programming language best deserves the label of, "modern C"?
1·2 years ago@raptor85@mastodon.gamedev.place Perl is a cat that got ahold of C’s yarn and now there’s bits of string everywhere.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoProgramming@fedia.io•Which programming language best deserves the label of, "modern C"?
1·2 years ago@raptor85@mastodon.gamedev.place Python is BASIC and C had a baby.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoProgramming@fedia.io•Which programming language best deserves the label of, "modern C"?
1·2 years ago@raptor85 I was thinking about that. C was high level but over time has been considered more and more low with so many other languages abstracting on top of C. You could argue in favor of Python in the sense because it’s the most high level here.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoProgramming@fedia.io•Which programming language best deserves the label of, "modern C"?
1·2 years ago@TerryHancock You also just described php, perl, rust, javascript, Java, and a whole range of others with that. There are some things where python isn’t frankly just “good enough” and plenty of software focused shops use it. Ansible, Jupyter, AI, Instagram - it’s a massive list.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoProgramming@fedia.io•Which programming language best deserves the label of, "modern C"?
1·2 years ago@TerryHancock I’m guessing whoever said that has never actually programmed in COBOL. The only correlation I can think of is they were both designed to be human friendly to read/write, but the implementation of that concept is extremely different between the two.
Cucumber/Gherkin would be modern COBOL, IMO.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoProgramming@fedia.io•Which programming language best deserves the label of, "modern C"?
1·2 years agoIf you start from C and get less pedantic, you get python. If you get more pedantic, you get rust. If you stay similarly pedantic, you get golang.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoProgramming@fedia.io•Which programming language best deserves the label of, "modern C"?
1·2 years agoSince I can’t vote in my own poll, my opinion is that the argument can be made any of them, but Go is the most on the nose, both in terms of language design and that it shares a co-author with C (Ken Thompson).
Python is more a modern BASIC (usually) implemented in C. It’s BASIC and C had a baby.
Rust should be on this list because of how many legacy C things are getting ported to rust due to memory and thread safety, etc.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoPrivacy 👁@fedia.io•Host your own stuff. Do it with open source software. If a way to do that doesn't exist yet for you, then make a way so it can happen for you and for others. You want to do something about big tech an
1·2 years ago@MisuseCase@twit.social @nextcloud@mastodon.xyz @CollaboraOffice@mastodon.social It’s essentially multi-user collaborative LibreOffice in the browser. It is LibreOffice under the hood in Collabora so you can also edit locally in LibreOffice as well and sync with the nextcloud client, in case you don’t have a current network connection. Nextcloud handles the user, file management, and integrations side of things and the two integrate together nicely as well. The mobile apps, etc. also work between them.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoPrivacy 👁@fedia.io•Host your own stuff. Do it with open source software. If a way to do that doesn't exist yet for you, then make a way so it can happen for you and for others. You want to do something about big tech an
1·2 years ago@MisuseCase@twit.social Definitely @nextcloud@mastodon.xyz with @CollaboraOffice@mastodon.social. All the professional talks I gave this year used this combo and it was how we also distributed slides to participants.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoProgramming@fedia.io•It's easy for one generation of workers to take for granted stuff that previous generations of workers fought so hard for. Many junior devs now just get to use git and deploy on Linux in a container v
1·2 years ago@squalouJenkins I had to double take because you maintain a nodejs app that I use 😂
But yeah, I get your sentiment.
Scott Williams 🐧 ( vwbusguy@mastodon.online ) OPtoProgramming@fedia.io•It's easy for one generation of workers to take for granted stuff that previous generations of workers fought so hard for. Many junior devs now just get to use git and deploy on Linux in a container v
1·2 years ago@bouncing Having worked in front end and backend development when php was king, I very much would like to push back on blaming python for anything with regard to bad coding. PHP5 let you get away with so much worse than python ever did.
You definitely can write bad python code, but it is still opinionated about a good many things that are good to be opinionated about.


@decathorpe@mastodon.social