@array@fosstodon.org avatar

array

@array@fosstodon.org

Life's an array of arrays. 101010 exactly.
Philosophy & Programming. I love coding, comic-books (and no-comic books), films and (dark and loud mostly) music. I suck at all of this. <3
:sway: :gnome: :archlinux: :debian: :ubuntu: :laravel: :javascript: :nodejs:

This profile is from a federated server and may be incomplete. Browse more on the original instance.

array, to random
@array@fosstodon.org avatar

The ETA just for setting up the development environment in $newJob is no less than 2 weeks, but it's no problem if it's two months. I know many of you are used to this kind of scale in dev work places, but I'm kind of terrified (that, plus the ~300 person IT workforce all in the same place, the git repo with more than 100 repos -and this is, apparently, just the tip of the iceberg-), the commits in 1000+ LOC files made in the past century... This will be fun, fortunately. And sadly. :P

array,
@array@fosstodon.org avatar

And it seems I'll be doing full stack, but mostly. I know, I know, but indulge me: I just love Java, so I feel lucky. And more important, I've found a very cozy workplace, the team seems to get along fine, they meet every Friday after workday for beers and chat, and they have been very helpful and welcoming. This is what I signed for when I began Programming, and quite different from what have been my early experiences. I hope this ends up as well as it is promising now. :D

array,
@array@fosstodon.org avatar

@tulpa I just hope I won't be laid off in a few weeks, then... But if so happens, well, that's life. XD

The good part is that I'm not just setting up stuff, I've got liberty to come to other coworkers' places and see what they are up to, they explain what they do and I can even make suggestions. It's been just two days, but I'm really enjoying this, so if tomorrow they lay me off, I still get two days of enjoyment. :)

array,
@array@fosstodon.org avatar

@tulpa Those long years wandering in the Philosophy department had to pay off! XD

array,
@array@fosstodon.org avatar

@fedops As I said, I know, I know... Just take into account that my experience so far includes not only Java, but PHP and JavaScript (full stack JS!), so it's either learning to love the underdog, or live a life of pure misery. XD

Now seriously, Java is way better than some people give it credit for. You can say whatever about it, but compared to "[new, hip and shiny]", it's really battle tested, had years to improve, and the community, docs, ecosystem etc are just huge, so that may count. ;)

array,
@array@fosstodon.org avatar

@tulpa Not Cioran, probably. XD

array,
@array@fosstodon.org avatar

@tulpa @fedops There's code in prod ranging from Java 6 to 17, and it all does the job. It happened to me that upgrading a Node project's dependencies just a few weeks old broke said project; just saying. ;)

array,
@array@fosstodon.org avatar

@fedops @tulpa Indeed, I've read some performance comparisons and Java usually does quite well. Anyway, I believe it could happen to me what I've seen many times, people very often hate what they use at work, as there's no silver bullet and the more you use something, the more problems you can find, so I may change my mind. I'll just enjoy my Java honeymoon while it lasts. XD

array,
@array@fosstodon.org avatar

@motofix @fedops @tulpa My company's Big Brains seem to agree with you! ;) Yeah, I'm almost crushed by the raw quantity and the complexity of the code base I'm just beginning to get a peek of, meanwhile Java has managed to work as expected for decades here, no sweat. :D

amin, to random
@amin@alpha.polymaths.social avatar

Welp, just finished my school year.

array,
@array@fosstodon.org avatar

@amin Congratulations! 🎉

array, to php
@array@fosstodon.org avatar

My first was 8.0, still in school, and I confess that I began learning it with the prejudice of it being a junky, terrible language everybody was making fun of. Fast forward ~1 year later, after finishing my internship, where I used full stack mainly, and having discovered that not only it wasn't that bad, but really a pleasure to work with. Not perfect, but perfectly suitable for its use cases and, what's perfect anyway? So reading this has been a joy. :D https://developerjoy.co/blog/php-doesnt-suck-anymore

array,
@array@fosstodon.org avatar

@blu256 Yes, but from my experience, any language I have at least tried has some syntax that feels "weird" at first... It's pretty subjective I believe. Not that it can't be annoying and could be improved though, but I believe that recent additions to the language have actually made it better than it was. Version 5 was quite different from what I've read, was it? :)

array,
@array@fosstodon.org avatar

@blu256 I totally agree with the backslash, it feels Windows-y, so kind of bad. XD But to be honest I can't remember now a single time I had to write a backslashed-route myself, I guess my code editor imported all that for me. :P

It's in some details, for example, Laravel began using explicit return types and parameters from version maybe 10 (not sure about the exact version), and coming from Java, having explicit types is something I really appreciate (and wasn't possible before, right?) :D

array,
@array@fosstodon.org avatar

@blu256 Frameworks are quite the norm in webdev $jobOffers, so I've had to learn and use them. I've used Bootstrap, Vue (and Vuetify), Laravel, Nuxt, and Express, and I can say that Laravel is really the one I like most. It's really straightforward, saves a lot of boilerplate, kind of puts you on development rails (using sane conventions), has a huge ecosystem... But then again it may be a bit overkill for small, pet projects. Frameworks are mostly trade offs I believe.

array,
@array@fosstodon.org avatar

@blu256 What I mean with trade offs... I've been doing stuff lately with no frameworks, just vanilla "web" languages. I wrote a bit about that here and I think it encapsulates what I mean: https://fosstodon.org/@array/112348049196060708

array,
@array@fosstodon.org avatar

@hydrian @blu256 That's, I guess, the beauty of FLOSS, I give thanks everyday to the people who have created, maintained, improved etc. the tools I use on a daily basis. I began with programming just a few years ago so I have missed the development, but I think the blog post I shared hit the point: some people who still think PHP is terrible or even "dead" maybe have the memories of way older versions of the language. :)

array, (edited )
@array@fosstodon.org avatar

@ntha @hydrian @blu256 Sure, the PHP "corpse" is quite healthy indeed. XD EDIT: and now that frameworks are mentioned, I'm really curious about WinterCMS. One of my colleagues used it in a former job and he said it's really great. :)

array,
@array@fosstodon.org avatar

@ntha @hydrian @blu256 And I totally agree with that, at this point I believe that should be clear enough, right? ;) I'm mostly making fun of the people who make fun of PHP being "dead", which is a trend I've found quite examples on the internet already. Not my opinion, on the contrary. :)

array,
@array@fosstodon.org avatar

@ntha @hydrian @blu256 No problem, I guessed you just missed the context. And out of context yeah, that maybe sounded like a trigger, so sorry about that. ;)

Sigh, I don't have much experience (finished my programming AD less than a year ago), but I've already worked with PHP and JS, and next Monday I'll start a full stack position with Java... So I may know a thing or two about programming languages being "punching bags". :P Yet I really enjoy all of them!

array,
@array@fosstodon.org avatar

@ntha @hydrian @blu256 Fair enough, and agreed. For me it will be Java now, but I guess that mutatis mutandis it all applies. Java (and PHP) can be seen as old, junky languages, inferior to those new and flashy ones, but most web dev job offers I see are precisely Java (a lot) and PHP (WordPress), if we talk backend/ full stack. I love them both, though. As you say, the maturity of the ecosystem really pays. :)

array,
@array@fosstodon.org avatar

@ntha @hydrian @blu256 Same, exactly. Actually, seeing what you already posted in your profile I think there's another thing we may agree with: https://fosstodon.org/@array/112348049196060708 I'm not in principle against frameworks, ORMs and so on, but for personal projects and as a learning experience, going down the abstraction layers may have its benefits too! (And yeah, I'm using "raw" SQL statements -sanitized, though- in my project, too).

array,
@array@fosstodon.org avatar

@ntha @hydrian @blu256 That's great! In Java I'm using dedicated validation classes, then declaring the SQL statements as constants in its own package with placeholders when needed, and then service classes which use the PreparedStatement interface. These are finally called by the servlets, and the data is passed to .JSP views. There's a bit more going on (I have some extra interfaces and factories), but that's the gist of it. Going minimal is great for experimenting and getting a better grasp!

array,
@array@fosstodon.org avatar

@ntha @hydrian @blu256 No, my models declare the attributes (mapped to the database ones), with constructors and getters/setters. That way I can pass the model objects through, for example, factories and interfaces (I use generics) up to the views. In this I was clearly "inspired" by the way say Laravel implements the MVC model. I'm just a noob so take this with a grain of salt, I'm probably doing more than one thing wrong or at least, not the best way possible. ;)

array, to random
@array@fosstodon.org avatar

Commuting to $newJob will be complicated. The place is close to the beach, so the public buses, at least in the hot season (so half of the year or so, and counting), will be full of tourists to the point that I'll likely miss more than one because full capacity overflow.

I still refuse to have a 🚗.

array, (edited )
@array@fosstodon.org avatar

@indie1337_1 I don't want to drive anything with any other type of engine than my legs, if I can avoid it. Not that I can always make it, but I try to be consistent with my principles. :)

array,
@array@fosstodon.org avatar

@indie1337_1 Ah sorry I misunderstood. :P Well then I just commented before why this is not really an option: https://fosstodon.org/@array/112382938215759310 Public transport in my city is far from good, but all things considered is still my only reasonable option, at least by now. :(

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • mdbf
  • thenastyranch
  • Youngstown
  • hgfsjryuu7
  • slotface
  • rosin
  • ngwrru68w68
  • InstantRegret
  • kavyap
  • osvaldo12
  • everett
  • DreamBathrooms
  • PowerRangers
  • normalnudes
  • magazineikmin
  • Durango
  • khanakhh
  • tacticalgear
  • vwfavf
  • ethstaker
  • GTA5RPClips
  • modclub
  • cubers
  • tester
  • cisconetworking
  • Leos
  • provamag3
  • All magazines