CSS art terrifies me to the point that I don’t even have the courage to try it. Tremendous respect to people who can make it.
I don’t want to come off negative… but you know how these things go.
You’d think after all the time I’ve spent on front-end dev I’d be able to at least write efficient CSS. You’d think.
It has builtins that let you change the color of the text in the console! By far my prettiest Hello World to date.
I continue to be surprised today. Haskell is also cool, at least based on what I’m reading. I haven’t written any yet, though, so we’ll see.
Maybe I’m just in an open mood. Should I break out the old assembly docs and test that theory?
.... Nah, I definitely shouldn’t do that.
Update: I never even gazed at the pond. And I do not intend to.
It’s high time I dip my toes into Rust
An epistle on an “oh duh” moment I just had while pondering switch functionality in Python.
Every couple of months when I get back into some hobbyist Python development I find myself DuckDuckGo-ing “switch in Python” and am subsequently always reminded that that’s not explicitly a thing. You, of course, get that functionality from dictionaries.
I’ve always thought that was dumb, but today I was considering it and realized that it’s all because of the interpreted nature of the language. Switch statements have the wicked performance improvements over if ladders in compiled languages because the switch tells the compiler to put a bunch of branches in the intermediate assembly so a lot of unnecessary condition checks are skipped.
Without in-depth knowledge of how the interpreter works, it now becomes clear why you have to use the dictionary. It’s not the Python lords being pretentious and imposing their pythonic ways; you have to be more explicit to the interpreter about where to look for the logic to run because the interpreter doesn’t craft intermediate assembly, it just plows straight through. So a switch in Python would ultimately perform no better than an if ladder.
That doesn’t mean a switch wouldn’t make me happy, mind you.
It’s an honor and a privilege to be a part of codeblr
Hiya! I've compiled a list of some of the currently active Tumblr blogs that are dedicated to all things coding and programming - this includes frontend dev, backend dev, web dev, game dev, etc. These are blogs I also follow (I try to follow as many as I can) and I like what they post, and I just wanted to share it with more people!
I will keep updating this post whenever a new blogger pops up or if some blogs deactivate - some of my fav blogs deactivated which is super sad since I loved seeing their coding posts on my dashboard! Anyways, onto the blogs!
━━━ ⋆⋅☆
@code-es ☆ @web-dev-with-bea ☆ @mileotero ☆ @sunlearnscoding ☆ @anndcodes ☆ @kirjh ☆ @zoeythebee ☆ @psychoticdesigns ☆ @yyshenblog ☆ @shivanitanwarsblog ☆ @cloudylogs ☆ @aleksey-kivaiko ☆ @simplywebstuff ☆ @codingflicks ☆ @checks ☆ @podokonnik ☆ @adventuresincodeandcoffee ☆ @knitjumpergames ☆ @pizzatriestostudy ☆ @codeparttime ☆ @programmerhumour ☆ @avkera ☆ @datavids ☆ @womaneng ☆ @shahednasser ☆ @cssengineer ☆ @soybananamilkcodes ☆ @frithams
━━━ ⋆⋅☆
Again, if there are more out there, let me know so I can update the list! If you want your @ taken off the list, let me know too! Thank you and I hope more people follow these super cool blogs and enjoy their posts the way I have! 💻💗💗
It’s interesting how as I’ve progressed as a programmer the things I turn to for therapy have also progressed.
At first it was Scratch: after a span of getting frustrated by Python I would play with Scratch to at least make things that did what I wanted them to.
A little while later I wrote HTML and CSS to feel good about myself, because even when the default padding for <body> screws up your positioning there’s at least SOMETHING on the screen instead of an aggressive error message.
Now, it’s python. When Scheme or Haskell or C or Java or C# (less so C# - it’s actually pretty nice) or even Javascript are bothering me I can always turn to Python to feel better.
I wonder what it’ll be next? Maybe one day I’ll see C++ as my relief. Probably not. But maybe. Perhaps the final evolution of a programmer is when you can feel completely peaceful while writing Posix level C. Perhaps even assembly. Probably not. But perhaps.
Happy Pride!
Alan Turing, one of the best computer scientists and programmers ever, was gay. The world lost him at a young age because he wasn’t treated with the kindness every human deserves.
Be nice to your fellow person. Be they a mathematical prodigy or an innominate stranger, everyone deserves to love and be loved.
Some articles about Turing:
https://medium.com/lessons-from-history/alan-turing-a-prodigy-whose-life-was-curtailed-for-being-homosexual-5bd5e686c1c0
https://www.washingtonpost.com/news/the-switch/wp/2013/12/24/alan-turing-was-a-war-hero-prosecuted-for-being-gay-he-finally-got-a-pardon/
Writing mergesort in Scheme makes me sooo grateful for python. And Javascript. And Java. And Ruby. And C#. Heck, I’m even grateful for C, at least it lets you access specific list indices.
he/himComplaining on Tumblr is a good alternative to punching my computer screen, right?
72 posts