prof

joined 2 years ago
[–] prof 4 points 2 years ago

It's my cat, I am the user 😄

[–] prof 17 points 2 years ago

Die Christen haben in ihrer Bibel wohl bei Nächstenliebe irgendeinen Typo ala "Nächstenhiebe".

[–] prof 19 points 2 years ago

He cs_assaulted the counter

[–] prof 28 points 2 years ago

In an upcoming post: "Why can't anyone just make a button that automatically hacks facebook???!!!"

It's really interesting how differently you see technology as a professional compared to "normies". So much stuff is easily solved by following instructions or reading error messages.

[–] prof 5 points 2 years ago

Like many others already said. Being self taught is ok, but employers need at least some kind of confirmation about your skills. So getting some kind of officisl certificate will make your job search a lot easier.

Microsoft offers a bunch of .NET certificates if you do their C# courses for example. You can also become a certified Linux professional.

Find something that interests you and then start learning by doing some tutorials. The most important thing is that you have fun and won't burn yourself out working in a field you don't enjoy.

Where I'm from there's demand for Web Devs, Java devs, .NET devs, It Support, Network Engineers, Embedded systems, whatever.

[–] prof 1 points 2 years ago

It doesn't compile or transpile in actuality. It generates Java based on an abstract syntax tree. The concrete syntax is not considered in Java generation by MPS.

[–] prof 2 points 2 years ago

Because it was easier to use Java primitives than implement the constants myself.

[–] prof 4 points 2 years ago

MPS uses projectional editing. Which means for the user that everything you do is free from concrete syntax, and you basically edit a graphical representation of that abstract syntax tree directly, while it looks like you're in a textual editor.

So I define abstract nodes that may have certain relationships with each other and then give them a representation in the editor (which is what you see in the screenshot). These nodes may also have generators assigned to them, which use map/reduce operations to generate whatever source code I desire. It usually includes its own bit of code, and triggers code generation of its children as well.

I hope that was somehow clear 😄

[–] prof 7 points 2 years ago (1 children)

Great idea if I have to extend it

[–] prof 10 points 2 years ago (2 children)

I like the way you think! 😂

[–] prof 11 points 2 years ago (4 children)

Yes, it pretty much just wraps the expression in a "System.out.println();"

[–] prof 7 points 2 years ago (1 children)

Fortunately I generate Java source code from it. However MPS generates both source and byte code when you build the solution. For some reason I can't get the byte code to run though, but the source code does, so I don't care too much.

view more: ‹ prev next ›