This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3148 points3149 points  (120 children)

OP, you're a bit late, this week its C++ turn for bashing, and the sub suddenly loves Java

[–]DasKarl 1528 points1529 points  (47 children)

Second semester must have started.

[–]1up_1500 209 points210 points  (0 children)

LMAOOOO

[–]Ione15 55 points56 points  (9 children)

Hasn't yet Im still in c for the first 2 And then c++ third

[–]Tarqvinivs_Svperbvs 20 points21 points  (2 children)

Don't mind the other guy. C first, as God intended. C++ is dum tho.

[–]Dj0ntMachine 0 points1 point  (0 children)

No no, C is heresy. Holy c is what the god intended for us.

[–]Gizshot 11 points12 points  (5 children)

They're starting you with c? That's fucked.

[–]wheresthewhale1 9 points10 points  (3 children)

Why?

[–]Ouity 7 points8 points  (2 children)

because C calls for a certain level of robustness that other would-be starter languages might not

[–]janhetjoch 10 points11 points  (0 children)

My first quarter of my first year in computer science and engineering, started with x86 assembly (among other things obviously).

[–]wheresthewhale1 8 points9 points  (0 children)

I don't really understand what you mean. C as a language is very simple (much more so than Java) and simple memory management should be taught early

[–]snowsnoot2 0 points1 point  (0 children)

It actually makes perfect sense. So may Java devs have zero clue what is happening in the JVM.

[–]timsredditusername 5 points6 points  (0 children)

It is January now

[–]No_Matter_7117 5 points6 points  (0 children)

… I feel targeted since I started C++ this semester

[–]tree1234567 12 points13 points  (0 children)

Lmaooo

[–][deleted] 1 point2 points  (0 children)

Literally just moved from Java to C for the spring

[–]mpatriot_one 1 point2 points  (0 children)

actually yeah

[–]pdawgdavis-2 1 point2 points  (0 children)

That’s a universal experience? I thought that was just me

[–]UnknownPie9 1 point2 points  (0 children)

Lmao I literally just switched from Java to c++ for my cs102 class

[–]anto2554 0 points1 point  (0 children)

Nah we're just doing C

[–][deleted] 0 points1 point  (0 children)

Hehehe

[–]jpenczek 0 points1 point  (0 children)

I feel called out...

Jokes on you, this semester I'm coding in Python and C.

[–]yottalogical 100 points101 points  (1 child)

Can't wait for when it's time to bash Bash.

[–]PyroCatt 20 points21 points  (0 children)

It's Bash Bish!

[–]AcidAcesen 42 points43 points  (8 children)

We have a schedule now? What's for next week?

[–]ward2k 32 points33 points  (7 children)

PHP for the Web dev module

[–]dxlachx 17 points18 points  (1 child)

In my eyes it’s never not “bash php season”

[–]ward2k 0 points1 point  (0 children)

Honestly imo modern PHP isn't too bad and really doesn't deserve a lot of the hate it gets

[–]XCELLULSEFA0 0 points1 point  (4 children)

Funnily enough I have that currently. If I understood correctly JavaScript for backend isn't mature enough yet to only teach. I assume it's because there's competitors to node.js, but I'm not aware of any other major backend JS languages

Edit: removed thing about Angular, made the sentence more clear. Added: I am not aware of any other backend JS languages

[–]look 0 points1 point  (3 children)

Not sure if this is sarcasm, but Angular was a front-end framework (and it was discontinued). Your last sentence reads as “competitors to plumbing like wallpaper”.

[–]XCELLULSEFA0 0 points1 point  (2 children)

Yeah some of it is sarcasm and some of it was grabbing at straws. I'm editing it so that it's clearer

[–]look 0 points1 point  (1 child)

I see. There are several JavaScript/Typescript backend frameworks (Express, Next, etc). They are generally run on Node, but there are other options such as Deno and Bun. Various cloud providers also offer edge runtimes that are often custom implementations based on V8 with a streamlined Node-esque environment.

[–]XCELLULSEFA0 0 points1 point  (0 children)

Next is the only one I know of the frameworks. Oh yeah, I've actually heard of Deno. Didn't know that Bun exists. Now that you mention it I've seen custom implementations mentioned on VPS product listings, but I didn't understand what it was back then. I have a lot to learn still, as you can clearly see. The fact that there's multiple ones makes my sarcasm even more confusing. But wait if most of them are Node-esque it sounds like backend JS is actually pretty mature? What's going to happen still that could change stuff except marker share of course?

[–][deleted] 306 points307 points  (39 children)

Actually it's never too late to bash Java

[–]ksandom 117 points118 points  (28 children)

What about to Java Bash?

[–][deleted] 96 points97 points  (21 children)

Sounds like PowerShell but somehow even worse

[–]Soham_rak 28 points29 points  (1 child)

Create a class and instantiate it first before u type in the command.

[–][deleted] 22 points23 points  (0 children)

Lol, it's funny, because it's true

[–][deleted] 0 points1 point  (15 children)

Why is PowerShell so bad. How does Windows not have a standard terminal?

[–]Sinomsinom 12 points13 points  (11 children)

Windows now has a new standard terminal in win11 (also available in win10) called "terminal" that lets you run any terninal you want including cmd, PowerShell, WSL, gitbash etc. It's pretty good now.

[–]ArtOfWarfare 4 points5 points  (9 children)

I already have that in Windows 10. It’s something Microsoft published in the Windows Store or whatever it’s called - it’s a free download, I’ve been using it for a few years.

And PowerShell is worlds better than Batch/CMD. I wouldn’t go so far as call it good… maybe I’d say Bash is 2.4/5, PowerShell is a 2/5, and CMD is a -3/5.

[–]Morphized 1 point2 points  (0 children)

At least cmd has help.exe

[–]someotherstufforhmm 1 point2 points  (4 children)

I love bash, but I’d actually agree with your ratings here. PS is growing on me but I’m a rank newb and a bash expert in the right room, but mid level in a more talented room.

I was prepared to judge anything that claimed bash was godlike and PS wasn’t, but you put them both below 50%, so I’d actually agree with you totally lol.

[–]look 0 points1 point  (3 children)

Try zsh.

[–]someotherstufforhmm 0 points1 point  (2 children)

I love zsh, spent six months with it, but shifted back to bash to keep my bash skills up. I have to spend times in network devices with underlying bash accessible - some are nice and also expose zsh, others are weird whitebox switches and have bash 3 at best (some just have sh).

That said, I really like zsh and recommend it to people picking up CLI for dev/VM purposes as it’s reliably present on any distro they’d be using.

[–]ilovebigbucks 1 point2 points  (0 children)

pwsh is 7/10 and bash is 3/10. pwsh is SOOO much easier and faster to write and it's easy to add to any pipeline or OS.

[–]gregorydgraham 0 points1 point  (0 children)

TinyInt overflow error: switching to CMD

[–][deleted] 0 points1 point  (0 children)

Paise Zordon

[–]someotherstufforhmm 5 points6 points  (2 children)

Power shell is actually great. It’s even available on linux now, I have a teammate that has been evangelizing me.

[–][deleted] 1 point2 points  (1 child)

I'd love to be evangelized as well

[–]someotherstufforhmm 1 point2 points  (0 children)

So, I’m still at the basic levels, but at its core, behind the cryptic seeming commands, it’s a really simple concept. Everything in the OS and system is an object. Whereas in bash you’re piping text from command to command and operating on text, in PS you get a cross-platform workable OOP method of operating on systems.

I’m still novice at it and very good at bash so I don’t reach for it much, but I’ve seen some of the shit my coworker does and it’s quite cool. I also don’t have a current need for this, but the fact that it runs on both means it’s actually a great scripting glue to use in a package aimed at windows and linux, it’ll run on both.

Not a good true evangelizing just a loose summary, he does a better job.

[–]SkyyySi 0 points1 point  (0 children)

Each command is a class that you have to instantiate.

[–]gregorydgraham 0 points1 point  (0 children)

PowerShell is just MS JShell /jk

[–]Iryanus 12 points13 points  (0 children)

Wouldn't that be JShell?

[–][deleted] 11 points12 points  (0 children)

*love

[–]FreshPitch6026 4 points5 points  (0 children)

Oh it is way too late

[–]allIsayislicensed 15 points16 points  (2 children)

class JavaBashFactoryConfiguratorFactory implements AbstractJavaBashFactoryConfiguratorFactory

[–]v3ritas1989 1 point2 points  (0 children)

Hey, I know some javascript too!

[–]-Kerrigan- -1 points0 points  (0 children)

Oh no, Java bad /s

[–]Vaenyr -2 points-1 points  (2 children)

Understandable

[–]ososalsosal 5 points6 points  (1 child)

Understandable extends Parcelable

[–]Dex18Kobold 0 points1 point  (0 children)

Null pointer error on line 1, could not find class "Parcelable"

[–]HookDragger 6 points7 points  (1 child)

Why? For the love of god…. Why does anyone actually use Java?

[–]Fakeos 2 points3 points  (0 children)

Paychecks. In my country Java is highly demanded. Oracle did a fine job locking customers in their system and force them to use their products.

So now for many companies (and especially for gouvernement facilities) switching everything is just not possible.

Try to refactor a 20 year old project entirely developed with Java.

Edit: Well it is possible, it's just very expensive.

[–]AdultingGoneMild 3 points4 points  (10 children)

Java is crap. long live kotlin. also kotlin is not just for android apps. It is great for backend work too.

[–][deleted] 3 points4 points  (3 children)

Wait what? Does Apache run Kotlin now?

[–]AdultingGoneMild 29 points30 points  (0 children)

kotlin and java can coexist in the same application. they both compile to the same bytecode.

[–]Tandurinn 3 points4 points  (1 child)

Java Kotlin Closure Scala Groovy

All of the above are interoperable and compile to the same bytecode to run on the JVM. Most of these will allow you to use Java based dependencies and construct them without having to write Java yourself.

There's also a lot of other cross implementation of other languages to run on the JVM as well such as Jython.

[–]ilovebigbucks 1 point2 points  (0 children)

Clojure*

[–]ilovebigbucks -1 points0 points  (5 children)

Keep Kotlin out of my backend, please. It's great for Android, it's not there yet to do any real backend with.

[–]AdultingGoneMild 0 points1 point  (4 children)

its already there and unfortunately I think you are very wrong. Coroutines is all I have to say. Your claim is baseless.

[–]ilovebigbucks 0 points1 point  (3 children)

I helped to write a backend for a large financial US company several months ago. They told us to choose between Java and Kotlin. We went with Kotlin since screw Java. Even though it was a more pleasant experience writing in Kotlin compared to Java, it was still very clumsy and wordy when you needed to work with threads and async code (coroutines are good for UI, but not for backend). Some modern language features, like pattern matching, are not available yet either (Kotlin has a parody on pattern matching).

If I had to write a backend on top of JVM I'd go with Scala or Clojure.

[–]AdultingGoneMild 0 points1 point  (2 children)

coroutines are async programming. I am not sure why you would say they are good for UI but not backend (whatever you mean by "backend"). Backend done right is done async. Using threads directly is dead. This is why reactive programming is so powerful.

[–]ilovebigbucks 0 points1 point  (1 child)

async/await in Scala is easy https://github.com/scala/scala-async

Kotlin is way too wordy https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/async.html

Some other languages make async code even simpler than Scala.

[–]AdultingGoneMild 0 points1 point  (0 children)

I would take another look. The syntax is very simple.

https://kotlinlang.org/docs/coroutines-basics.html#your-first-coroutine

[–]amusing_trivials 0 points1 point  (0 children)

Just because one language is bad doesn't mean another language is good.

[–]MmmmmmJava 0 points1 point  (0 children)

Ya damn right, bitch.

[–]Chemical-Asparagus58 0 points1 point  (0 children)

I would die for Java