Symfony Station is your source for Symfony, Drupal, PHP, Cybersecurity, and Fediverse news. https://www.symfonystation.com Contact us to let us know what you want to be covered. And while you are there, please sign up for our "newsletter" to get the latest news communiques and original content delivered to your inbox. Thanks for following us on Mastodon. :symfony: :elephpant_purple: :drupalicon: :mastodon: :fediverse: 🇺🇦 #Symfony#PHP#Cybersecurity#Drupal#Fediverse
I think I got at the point in my #programming career when I crave for dumb programs.
Happy statements, some code repetition here and there. Few abstractions. No mixins. No metaclasses. Nothing too surprising, really.
For some reason, this happens as I’ve been spending some time away from my main language. #PHP is a somewhat simpler language than #Python anyway, so that may be why.
As a consequence of using a single monitor setup, I'm generally trying to have my code lines as narrow as possible, so I can avoid as much as I can doing horizontal scrolling. Luckily #PHP formatters are pretty OK with having, say, one array item or function parameter per line, the splitting options are very liberal and IMO it keeps being pretty legible. I just hope this is considered "good" (or "acceptable" at least) practice. :D
you know what i was just thinking about? programming syntax and international developers. Between PHP and jQuery, how do european and british developers deal with the $ symbol? I imagine the $ is not directly on your region-specific keyboard. Does your IDE map the € or £ to the $ when you code? Do you just use second keyboard with a US layout? You’ve gotta use the $ symbol hundreds of times a day, so it needs to be easy
“Haha lol banks use 60 year old programming languages!”
Yes, young whippersnapper, that’s because they need things to be reliable and not change all the time, the code probably has to run for another 60 years.
“Modern” devs could learn a lot from not trying chase every trendy new framework and every shiny new programming language.
@thomasfuchs@nattiegoogie Sheesh, people love to rag on #Javascript so much and turn a wilful blind eye towards all the effort put to improve the language.
Wouldn't you agree that ES6 is nothing like the JS of yesteryear, just as #php 8 is nothing like the php 5.4 shit I had to write when I first entered the industry?
Do you own or work for an organization looking for promotion opportunities in the PHP, Drupal, and Symfony communities? If so, please contact us. https://www.symfonystation.com/Contact :symfony: :drupal: :php: #Symfony#Drupal#PHP
#PHP
now we have the ability to properly type properties and with @Crell & @ilutov 's property hooks RFC, that I hope will pass (https://wiki.php.net/rfc/property-hooks),
I wonder if, at some point, it will become possible to declare properties in an interface....
Or am I the only one who thinks that makes sense ?
Enjoy this week's Symfony, Drupal, PHP, and Fediverse news! (mailchi.mp)
The weekly Symfony Station newsletter of Symfony, Drupal, PHP, Cybersecurity, and Fediverse News is out.