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

Latest profile posts

CrystalLegend01 wrote on NADER KANAAN's profile.
Happy Birthday!
coolzombiee wrote on NADER KANAAN's profile.
Happy birthday!
IMG_1809.jpg
IMG_1810.jpg

Never playing na op again........
Note: the game was Sky Wars Mega, the map was Lucky, and loot was OP
Top Bottom