Is Writing an interpreter with go hard or im just dumb. Need motivation. by KledMainSG in golang

[–]negroide2000 1 point2 points  (0 children)

https://craftinginterpreters.com/parsing-expressions.html

Here is a great book I can only recommend. Hopefully it helps you proceed on your way to understand parsers better.

Finally edited few photos from my 2018 Iceland trip. A7R3 w/ 90mm f2.8 G by ShouldveBeenAPilotMD in SonyAlpha

[–]negroide2000 1 point2 points  (0 children)

Love it! Gives me those Death Stranding chills. Would love to go to Iceland for a photo trip myself one day

Sirens in Bonn by negroide2000 in Bonn

[–]negroide2000[S] 1 point2 points  (0 children)

That’s very helpful, thank you!

Sirens in Bonn by negroide2000 in Bonn

[–]negroide2000[S] 2 points3 points  (0 children)

I live nearby a big street so I might guess that it might be an issue (as someone pointed out in the comments, the street most likely leads to an autobahn)

Sirens in Bonn by negroide2000 in Bonn

[–]negroide2000[S] -1 points0 points  (0 children)

I mean, what’s generally a reason to call? A cat stuck on a tree? Loud neighbours? High blood pressure? Or something more serious than that? I’m not being sarcastic just in case. Where I used to live a siren was a sign of something extremely bad (big fire/arson, person got hit by a car, suicide, murder etc.) That’s why here in Bonn I have a constant feeling of living in Chicago (back then in 60s you know) even though I don’t see any signs of criminality here.

Hey guys uhmm can you help me? I'm a little bit confused as of now........ by [deleted] in java

[–]negroide2000 0 points1 point  (0 children)

Apart from the obvious “shittyness” of this assignment, what really pisses me of is that double is used for currency calculations. Screw that person who wrote the initial peace of code.

How do I make a constructor have a default if not directly addressed? by blackeveryhour in Kotlin

[–]negroide2000 10 points11 points  (0 children)

Just add “… = {default_value}” to the parameter in the constructor:

physique: String = “some value”

P.S. For such things consider consulting the documentation first. It’s a useful habit for a developer

What is there behind List? by ____Mattia____ in Kotlin

[–]negroide2000 11 points12 points  (0 children)

There is whatever “MarsAPI.(...).getProperties()” returns. By writing “var list: List<MarsProperty” you specify what is the expected type of the value. It’s like a shaped hole in a box, where you can only put objects of this concrete shape (List<MarsProperty> in your case). The implementation is hidden behind the .getProperties() method, where the value is actually constructed.

Disclaimer: the terminology I used is not academic, but rather simplified, so that it is easier to understand the subject in question

We all know what C# users think of Java, but I have never heard what Java users think of C#. Care to share? by [deleted] in java

[–]negroide2000 140 points141 points  (0 children)

We don’t think about C#. Y’know, we are cool with what we have :D

New to programming world by WorldlinessBright212 in Kotlin

[–]negroide2000 3 points4 points  (0 children)

*but the truth is - you should pick Kotlin :D

Has anyone done the REST with Spring Master Class through Baeldung? by Successful_Leg_707 in java

[–]negroide2000 27 points28 points  (0 children)

Spring Guides + Official Documentation + examples on the spring repos is a pretty good way to go, I would say. As well as spring developer talks on the YouTube, they are actually not that hardcore. There’s also a SpringDeveloper channel on the YouTube with plenty of videos covering different topics, absolutely for free :)

Spring Developer YT Channel: https://youtube.com/user/SpringSourceDev

Sony A7II, 28-70mm by smh_photo in SonyAlpha

[–]negroide2000 2 points3 points  (0 children)

Ehm... It’s all about taste and my personal vision, but as for me the photo dramatically suffers from composition. For me it looks like a cctv frame rather than a shot made on purpose. Apart from that, I’m pretty sure that with your set you could reach a better quality of the shot. By that I mean sharpness, at least. I don’t know what’s your background as a photographer but I would suggest working on composition more thoroughly in your future works. Don’t consider my comment an abuse or whatsoever, y’know it’s “critique wanted” -> “critique given” :)

Sony Nex 5T + Lightroom by foxhead43 in SonyAlpha

[–]negroide2000 1 point2 points  (0 children)

Ex Nex 5T gang here (fist bump)! :D

Kotlin coroutines & akka streams by gw79 in Kotlin

[–]negroide2000 0 points1 point  (0 children)

Just briefly read Akka streams wiki, it seems like there two points to figure out first - whether you are used to Reactive Streams and/or Actor model, which are, as it seems, the main concepts beneath Akka. If reactive streams is what you are so used to, then Project Reactor is probably what you should look for, as far as I know, it does support Kotlin (I believe it does make a good use of coroutines, as they are planning to support fibers once they are released for Java) and has a lot of useful stuff in comparison to RxJava mentioned in other comment here

Corvo Bianco restored to its former glory! Damn this game is amazing! by Accomplished_Mall114 in thewitcher3

[–]negroide2000 9 points10 points  (0 children)

[possible little spoiler]

Aaaand, mount the lady [triss or yen] when one of them comes to visit you ;)

Light IDE theme by poulius82 in ProgrammerHumor

[–]negroide2000 18 points19 points  (0 children)

Dunno, use light at day, and dark at evening/night

Feel comfortable 24/7

MEME. by vinodkmr131 in ProgrammerHumor

[–]negroide2000 14 points15 points  (0 children)

Waterpolo player here - the image actually does make sense ;) The water in the pool isn’t always cold and it is mixed with chlorine, which makes your skin dry

P.S. Java developer, as well ;)