Minecraft PC IP: play.cubecraft.net

Rifyy

Well-Known Member
Aug 19, 2019
95
334
104
True ts is better than js in a lot of cases, but ts isnt industry standard so enjoy finding a use for it anywhere except a personal project, so theres that.
Tho i suspect in a few years that statement will change but for now js > ts
Angular uses typescript, previous company I worked at used that for everything

Current company uses JS atm for 1 project but I got assigned to redo it all in TS, only took several months of asking about it :^)

I also made a small command line program we use for testing in TS, so I guess you could consider that as using it too
 

Dronade

Novice Member
Dec 16, 2019
38
211
39
Wales, UK
Angular uses typescript, previous company I worked at used that for everything

Current company uses JS atm for 1 project but I got assigned to redo it all in TS, only took several months of asking about it :^)

I also made a small command line program we use for testing in TS, so I guess you could consider that as using it too

Pretty much the only two js using companies ive worked for has used straight js mostly with react or node. Then for freelance web dev projects i used js as typescript takes too long in my opinion with very little benefits currently.

Tho i have seen big companies beginning to use it. Ive just yet to see it really implemented much in my area, but in a few years, hey, wouldnt doubt it. Same as how people said python would never be standard.
 

Dronade

Novice Member
Dec 16, 2019
38
211
39
Wales, UK
Pretty cool if you have knowledge in rust. It's calling rust from js, so you can have js on steroids

Thats fair, as i said in a previous post i dont really use different languages until i have to but id be willing to learn it said the oppertunity arise.

Ive heard rust is similar to c++ tho? Syntax wise at least
 

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,166
518
Kepler-452b
Am bored so I've made an effort to explain whats going on. As the forums doesn't have a Java markup, it's just a screenshot from my IDE

DCD16eo.png

(also a real life example usage because I'm too lazy to create another project)
 

Rifyy

Well-Known Member
Aug 19, 2019
95
334
104
Am bored so I've made an effort to explain whats going on. As the forums doesn't have a Java markup, it's just a screenshot from my IDE

DCD16eo.png

(also a real life example usage because I'm too lazy to create another project)
Any reason for not storing `p.getTeam().getSpawn()` in a variable and calling `getX()` & `getZ()` on that?

Same for `gp.getBukkitPlayer()`
 

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,166
518
Kepler-452b
Any reason for not storing `p.getTeam().getSpawn()` in a variable and calling `getX()` & `getZ()` on that?

Same for `gp.getBukkitPlayer()`
They are, the code block is slightly bigger (and the variables are created a few lines before this) and for the purpose of the screenshot I moved those there.

so none other than my being too lazy to cut something
 
Members Online

Team online

Latest posts

Latest profile posts

Mintypie231 wrote on Floraljackp14's profile.
Hello and welcome to the forums! If you need any help feel free to message me or a staff member! :D
IM GOING TO AMERICA TOMORROW!!!
:3
1000171743.jpg

Anyway I would be less online in the forums and on minecraft due to exams. Now you might be asking, "Didn't it happen like a while ago?" Yes, but the school has to make me suffer by doing it every 2-3 months, so don't mind if I casually leave for like 2 weeks. Just need to suffer till end of may :D
Daily Question 111. ⭐

What do you think the world will be like in the future?
Livvv wrote on sebasxd12's profile.
Thanks for the follow! ^-^
Top Bottom