Recent comments in /f/programming
twovests OP wrote
Reply to comment by musou in I found this site called HackerRank, it's sort of like Duolingo for programming. It has a lot of small programming questions, challenges, etc. by twovests
Ooh, I'll have to keep these in mind!! These seem more involved than Hackerrank
musou wrote
Reply to I found this site called HackerRank, it's sort of like Duolingo for programming. It has a lot of small programming questions, challenges, etc. by twovests
this looks fun, i'll try it out. i already like to use rosetta code and exercism for this sorta thing if you haven't encountered those!
twovests OP wrote
Reply to I found this site called HackerRank, it's sort of like Duolingo for programming. It has a lot of small programming questions, challenges, etc. by twovests
You can see their different things here:
https://www.hackerrank.com/dashboard
This is really exciting for me. I'm rusty on my Bash skills and Java skills, and haven't done much C++.
butthole69 wrote
Reply to comment by flabberghaster in "Here is a link to a boost library" is the "just use j-query" of C++ by flabberghaster
thank you!
flabberghaster OP wrote
Reply to comment by butthole69 in "Here is a link to a boost library" is the "just use j-query" of C++ by flabberghaster
C++ is a programming language. Boost is a very popular set of libraries that contain utilities like different popular data structures or things like that but it doesn't automatically come with C++. When you ask a question about "what's the easiest way to do X in C++?" Often someone will answer by linking to boost.
But boost is also giant, and you don't necessarily want to include such a huge dependency into you project just for one simple task you were asking about so it's kind of not always a great answer despite being extremely common.
JavaScript is also a programming language usually meant for running in web browsers. It's got a lot of platform-dependent quirks: some things work in chrome but not firefox or has some weird edge case in IE.. To smooth out these platform dependent quirks (and also add some really nice utilities and syntax helpers) theres a library for javascript called J-query. It too is pretty big so if you have a small JavaScript project and want to do one simple thing you don't necessarily want to include all of jquery but if you ask online"how do i do X in JS" it was so common for someone to suggest using Jquery that it became a meme to do so among (especially web) developers.
butthole69 wrote
not a programmer, pls explain
musou wrote
Reply to comment by twovests in something i actually thought today: "i wish python had goto statements" by twovests
oh definitely not. it was exceedingly terrible code, just one of those situations where it went largely forgotten and just had to live long enough on bugfixes for a team to finish rewriting it.
twovests OP wrote
Reply to comment by musou in something i actually thought today: "i wish python had goto statements" by twovests
that sounds so awful
that can't be normal for ruby, can it? please tell me it's not :'(
musou wrote
i don't know any python... but i've maintained a lot of ruby where exceptions were used as flow control. that felt remarkably similar to using gotos in ti-basic. every rescue is a label, every raise is a goto.
twovests OP wrote
Reply to comment by cute_spider_ni_srsly in something i actually thought today: "i wish python had goto statements" by twovests
cute_spider_ni_srsly wrote
There are two different python libraries which create a goto method.
Moonside wrote
Get rid of that seat belt bucko. . . In this world, in street racing, it's kill or be killed.
twovests OP wrote
I could also do this in C, but I like Python a bunch
musou wrote (edited )
Reply to comment by twovests in Does anybody have any experience with programming using a phone + keyboard? by twovests
ed... the standard Unix text editor.
i actually have seen a coworker of mine reach for ed in the context of automating changes to config files with a shell script (which was totally badass and ended up working really well) but even i am too young to have met anyone who ever used ed as a daily driver. this is really interesting.
twovests OP wrote
Reply to comment by musou in Does anybody have any experience with programming using a phone + keyboard? by twovests
https://retrocomputing.stackexchange.com/questions/5341/how-did-people-use-ed
also makes me think of this post about the editor Ed
musou wrote
Reply to comment by twovests in Does anybody have any experience with programming using a phone + keyboard? by twovests
that really is what it feels like even down to some of the modifier keys not working right
twovests OP wrote
Reply to comment by hollyhoppet in Does anybody have any experience with programming using a phone + keyboard? by twovests
yea prolly
twovests OP wrote
Reply to comment by musou in Does anybody have any experience with programming using a phone + keyboard? by twovests
it'll be like the good ol' days of 80x24 character terminals!!
hollyhoppet wrote
sound like a huge pain lol
musou wrote
i have used a bluetooth keyboard with an ssh client on my phone. it's fine in a pinch but i miss the screen real estate of a laptop or desktop
Moonside wrote
Reply to comment by twovests in please rank my programming projects by priority by twovests
yeah my principle: i. your responsibilities towards yourself ii. little fun for you iii. helping out buds iv. everything else
twovests OP wrote
Reply to comment by Moonside in please rank my programming projects by priority by twovests
GOOD prioritization, i agree with it, and thank u
Moonside wrote
- Your coursework
- simple worksheet generator
- 2D time pong
- python script for friend
- circuit-design esolang/cellular automata
- 2D time level/overhead/action maze thingy.
- 2D time platformer game
- falling flour game (as practice-project for:)
- connect flour android game (connect four with flour)
- YouTube series (edutainment YouTubing is imo oversaturated atm)
twovests OP wrote (edited )
Reply to comment by devtesla in please rank my programming projects by priority by twovests
BOTTOM OF THE LIST
RoundSparrow wrote
Reply to Does anybody have any experience with programming using a phone + keyboard? by twovests
I've done some on a tablet with a keyboard while traveling. It depends on your language and your phone. Python would probably be easier than Java. I used Linux Deploy or something similar: https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy