Additional functionality not defined in a class that the helper operates on.

learn more… | top users | synonyms

2
votes
1answer
69 views

Custom HtmlHelper to render a Grid

Edited: I've edited my code with the comments which are given by 'Mat's Mug'. Already a huge thanks for that. However, I've not done all the recommondations he adviced. Things which I've not done: ...
7
votes
1answer
415 views

SQLite Helper Class in C#

Here is a SQLite Helper Class I created. Any input appreciated, including security and simplification. ...
3
votes
1answer
69 views

Horrible case statement for displaying a title

This thing kills me: ...
0
votes
1answer
79 views

Please critique my Python remove_prefix and remove_suffix functions

If the prefix/suffix does not match the beginning or the end of a string, then, depending on how I call these functions, they should either raise an exception or return the original text unmodified. ...
0
votes
1answer
910 views

PHP MVC: how to do $_POST the right way

I am not sure if I am doing right on how to handle $_POST data in MVC pattern. Below is my attempt. Am I doing it right? // Dummy $_POST data, ...
1
vote
1answer
219 views

content_tag concatenation clean up

I need to concatenate two content_tag and it works but it seems a little messy to me. Any thoughts on how may I refactor this? ...
2
votes
2answers
288 views

Pong game in Python

I'm writing a pong game in Python and I created classes for the game objects. The top level class is Object, and Ball and ...
0
votes
2answers
68 views

Refactoring a HTML class collector?

I have following HTML class collector. Is there a better way than []tap for this? ...